From 20c34d60e7bb9f7b74500c73ef68c47348360be7 Mon Sep 17 00:00:00 2001 From: Navin Karkera Date: Tue, 22 Oct 2024 21:47:13 +0530 Subject: [PATCH] style: ignore javascript-jquery-insertion lint error --- cms/static/js/views/modals/edit_xblock.js | 1 + 1 file changed, 1 insertion(+) diff --git a/cms/static/js/views/modals/edit_xblock.js b/cms/static/js/views/modals/edit_xblock.js index 3b5a77352e70..b5b69c721b10 100644 --- a/cms/static/js/views/modals/edit_xblock.js +++ b/cms/static/js/views/modals/edit_xblock.js @@ -76,6 +76,7 @@ function($, _, Backbone, gettext, BaseModal, ViewUtils, XBlockViewUtils, XBlockE }, createWarningToast: function(upstreamLink) { + // xss-lint: disable=javascript-jquery-insertion this.$('.modal-header').before(this.loadTemplate('edit-upstream-alert')({ upstreamLink: upstreamLink, }));