| @@ -1,10 +1,8 @@ | ||
| 1 | -/*! elementor - v3.0.15 - 2020-12-20 */ | |
| 1 | +/*! elementor - v0.7.1 - 18-08-2016 */ | |
| 2 | 2 | // MarionetteJS (Backbone.Marionette) |
| 3 | 3 | // ---------------------------------- |
| 4 | -// v2.4.5.e1 | |
| 5 | -// Change Log: | |
| 6 | -// e1: Fix - Compatibility with jQuery 3. (`Marionette.Region.reset`). | |
| 4 | +// v2.4.5 | |
| 7 | 5 | // |
| 8 | 6 | // Copyright (c)2016 Derick Bailey, Muted Solutions, LLC. |
| 9 | 7 | // Distributed under MIT license |
| 10 | 8 | // |
| @@ -1350,10 +1348,9 @@ | ||
| 1350 | 1348 | reset: function() { |
| 1351 | 1349 | this.empty(); |
| 1352 | 1350 | |
| 1353 | 1351 | if (this.$el) { |
| 1354 | - // 2020-12-20 Changed for compatibility with jQuery 3. | |
| 1355 | - this.el = this.options.el; | |
| 1352 | + this.el = this.$el.selector; | |
| 1356 | 1353 | } |
| 1357 | 1354 | |
| 1358 | 1355 | delete this.$el; |
| 1359 | 1356 | return this; |
| @@ -1623,12 +1620,10 @@ | ||
| 1623 | 1620 | // For asynchronous loading with AMD/RequireJS, consider |
| 1624 | 1621 | // using a template-loader plugin as described here: |
| 1625 | 1622 | // https://github.com/marionettejs/backbone.marionette/wiki/Using-marionette-with-requirejs |
| 1626 | 1623 | loadTemplate: function(templateId, options) { |
| 1627 | - var $template = '#' === templateId.charAt(0) | |
| 1628 | - ? Backbone.$('script' + templateId) | |
| 1629 | - : Backbone.$(templateId); | |
| 1630 | - | |
| 1624 | + var $template = Backbone.$(templateId); | |
| 1625 | + | |
| 1631 | 1626 | if (!$template.length) { |
| 1632 | 1627 | throw new Marionette.Error({ |
| 1633 | 1628 | name: 'NoTemplateError', |
| 1634 | 1629 | message: 'Could not find template: "' + templateId + '"' |