diff --git a/cms/static/js/utils/handle_iframe_binding.js b/cms/static/js/utils/handle_iframe_binding.js index b7e904c47db0..b4527afd85d4 100644 --- a/cms/static/js/utils/handle_iframe_binding.js +++ b/cms/static/js/utils/handle_iframe_binding.js @@ -33,7 +33,6 @@ define(['jquery'], function($) { // The TinyMCE editor is hosted in an iframe, and before the iframe is // removed we execute this code. To avoid throwing an error when setting the // attr, check that the source doesn't start with the value specified by TinyMCE ('javascript:""'). - // eslint-disable-next-line no-script-url else if (ifr_source.lastIndexOf('javascript:', 0) !== 0) { $(this).attr('src', ifr_source + '?' + wmode); }