Closed brambruning closed 11 months ago
Improved: 2 _fnShowMinBoundReached: function () { let self = this; if (this.s.state.minBoundAllowClass && this.s.state.$element) { this.s.state.$element.addClass(this.s.opts.minBoundClass); let $currentElement = this.s.state.$element; setTimeout(function () { $currentElement.removeClass(self.s.opts.minBoundClass); }, 500); this.s.state.minBoundAllowClass = false; } },
_fnShowMaxBoundReached: function () { let self = this; if (this.s.state.maxBoundAllowClass && this.s.state.$element) { this.s.state.$element.addClass(this.s.opts.maxBoundClass); let $currentElement = this.s.state.$element; setTimeout(function () { $currentElement.removeClass(self.s.opts.maxBoundClass); }, 500); this.s.state.maxBoundAllowClass = false; } },
Improved: 2 _fnShowMinBoundReached: function () { let self = this; if (this.s.state.minBoundAllowClass && this.s.state.$element) { this.s.state.$element.addClass(this.s.opts.minBoundClass); let $currentElement = this.s.state.$element; setTimeout(function () { $currentElement.removeClass(self.s.opts.minBoundClass); }, 500); this.s.state.minBoundAllowClass = false; } },