Update umbrangeslider.directive.js

Updated comment
This commit is contained in:
Robert
2018-11-27 09:50:22 +01:00
committed by GitHub
parent f8068801af
commit 4f7b9cd61a

View File

@@ -129,7 +129,7 @@ For extra details about options and events take a look here: https://refreshless
sliderInstance.noUiSlider.set(ctrl.ngModel);
}
// destroy the flatpickr instance when the dom element is removed
// destroy the slider instance when the dom element is removed
angular.element(element).on('$destroy', function() {
sliderInstance.noUiSlider.off();
});
@@ -204,4 +204,4 @@ For extra details about options and events take a look here: https://refreshless
angular.module('umbraco.directives').component('umbRangeSlider', umbRangeSlider);
})();
})();