Fixed resize bug over iframe

This commit is contained in:
Kasper Rynning-Tønnesen
2015-11-18 17:58:49 +01:00
parent cb5cb40d73
commit 2423b72641
2 changed files with 8 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@@ -71,6 +71,12 @@ $(document).ready(function()
}); });
//awdwad //awdwad
$(".video-container").resizable({ $(".video-container").resizable({
start: function(event, ui) {
$('iframe').css('pointer-events','none');
},
stop: function(event, ui) {
$('iframe').css('pointer-events','auto');
},
handles: "e", handles: "e",
minWidth: 350 minWidth: 350
}); });