Reimplemented resizable

This commit is contained in:
Kasper Rynning-Tønnesen
2016-12-15 16:07:29 +01:00
parent 06b96f827e
commit 0f9c1f8d17
3 changed files with 6 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@@ -17,7 +17,7 @@ var Crypt = {
Crypt.conf_pass = Crypt.decrypt(Crypt.create_cookie(chan.toLowerCase()), chan.toLowerCase()); Crypt.conf_pass = Crypt.decrypt(Crypt.create_cookie(chan.toLowerCase()), chan.toLowerCase());
} }
Hostcontroller.change_enabled(conf_arr.remote); Hostcontroller.change_enabled(conf_arr.remote);
//if(conf_arr.width != 100) Player.set_width(conf_arr.width); if(conf_arr.width != 100) Player.set_width(conf_arr.width);
if(conf_arr.name !== undefined && conf_arr.name !== "") Chat.namechange(conf_arr.name); if(conf_arr.name !== undefined && conf_arr.name !== "") Chat.namechange(conf_arr.name);
}, },

View File

@@ -161,7 +161,7 @@ function init(){
not_import_html = $(".not-imported-container").html(); not_import_html = $(".not-imported-container").html();
$(".not-imported-container").empty(); $(".not-imported-container").empty();
/*$(".video-container").resizable({ $(".video-container").resizable({
start: function(event, ui) { start: function(event, ui) {
$('iframe').css('pointer-events','none'); $('iframe').css('pointer-events','none');
}, },
@@ -172,7 +172,7 @@ function init(){
handles: "e", handles: "e",
minWidth: 350, minWidth: 350,
maxWidth: $(window).width()-241 maxWidth: $(window).width()-241
});*/ });
if(socket === undefined || Helper.mobilecheck()){ if(socket === undefined || Helper.mobilecheck()){
no_socket = false; no_socket = false;