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

View File

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