Skip to content
Permalink
Browse files

Add ie11 workaround

  • Loading branch information
flack committed Jan 8, 2020
1 parent dc1b291 commit 49ad7e94ed76f4432583c419c25aae8c32ee594e
Showing with 2 additions and 1 deletion.
  1. +2 −1 static/midcom.workflow/workflow.js
@@ -167,7 +167,8 @@ function create_dialog(control, title, url) {
close: function() {
control.removeClass('active');
iframe.css('visibility', 'hidden');
if (iframe[0].contentWindow) {
// second clause is an IE11 workaround
if (iframe[0].contentWindow && iframe[0].contentWindow.hasOwnProperty('stop')) {
iframe[0].contentWindow.stop();
}
},

0 comments on commit 49ad7e9

Please sign in to comment.
You can’t perform that action at this time.