Merge pull request #1203 from Kiloutre/patch-2
Forgot to end a string and a condition
Cette révision appartient à :
révision
7aa6d72db0
2 fichiers modifiés avec 2 ajouts et 2 suppressions
|
@ -7,7 +7,7 @@ function UpdatePreviewCategory(){
|
|||
}
|
||||
|
||||
document.getElementsByClassName("form-torrent-remake")[0].onchange = function(){
|
||||
document.getElementsByClassName("table-torrent-thead")[0].className = "torrent-info table-torrent-thead" + (UserTrusted ? " trusted : "") + (document.getElementsByClassName("form-torrent-remake")[0].checked ? " remake" : "");
|
||||
document.getElementsByClassName("table-torrent-thead")[0].className = "torrent-info table-torrent-thead" + (UserTrusted ? " trusted" : "") + (document.getElementsByClassName("form-torrent-remake")[0].checked ? " remake" : "");
|
||||
};
|
||||
|
||||
document.getElementsByClassName("form-torrent-hidden")[0].onchange = function(){
|
||||
|
|
|
@ -115,7 +115,7 @@
|
|||
var lang_count = 0,
|
||||
lang_value = "other";
|
||||
for(var lang_index = 0; lang_index < document.getElementsByClassName["form-language-checkbox"].length; lang_index++) {
|
||||
if(document.getElementsByClassName["form-language-checkbox"][lang_index].checked)
|
||||
if(document.getElementsByClassName["form-language-checkbox"][lang_index].checked) {
|
||||
if(++lang_count > 1){
|
||||
lang_value = "multiple";
|
||||
break;
|
||||
|
|
Référencer dans un nouveau ticket