Fixed weird width on first time

This commit is contained in:
Kasper Rynning-Tønnesen
2015-12-10 17:28:04 +01:00
parent 7ba5edb897
commit 25ce1db098
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@@ -11,7 +11,7 @@ var Crypt = {
conf_pass = Crypt.decrypt(Crypt.create_cookie(chan.toLowerCase()), chan.toLowerCase());
}
Hostcontroller.change_enabled(conf_arr.remote);
Youtube.set_width(conf_arr["width"]);
if(conf_arr["width"] != 100) Youtube.set_width(conf_arr["width"]);
},
decrypt: function(cookie, name){