backdrop-contrib / css_editor

CSS Editor
GNU General Public License v2.0
1 stars 1 forks source link

Remove the use of jQuery load() method to handle load events #5

Open argiepiano opened 3 months ago

argiepiano commented 3 months ago

This module uses the jquery method load() to handle the load event in css_editor.js. This method was deprecated, and causes Javascript to crash when used with jQuery 3, which is now the default for Backdrop.

The use of the event handler load(function(){}) should be converted to on('load', function(){})