From bf4568e93af04b1d0f04dd83de0daeec46907454 Mon Sep 17 00:00:00 2001 From: "Kyle D. McCormick" Date: Fri, 25 Oct 2024 14:32:33 -0400 Subject: [PATCH] temp: eslint violation --- cms/static/js/utils/handle_iframe_binding.js | 1 - 1 file changed, 1 deletion(-) 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); }