refactor: disable xss PROD-2313

This commit is contained in:
Ali-D-Akbar
2021-04-14 16:56:51 +05:00
parent b8d36e7a18
commit f82955bb62

View File

@@ -39,7 +39,7 @@
// Deleting the video (clone) prevents the odd back button behavior.
var modal_clone = $(modal_id).clone(true, true);
modal_clone.attr('id', 'modal_clone');
$(modal_id).after(modal_clone);
$(modal_id).after(modal_clone); // xss-lint: disable=javascript-jquery-insertion
modal_id = '#modal_clone';
}