From 7956b181cfc406a6ac73065758944c029991c7aa Mon Sep 17 00:00:00 2001 From: Gareth Daunton Date: Sun, 7 Aug 2016 10:28:52 -0400 Subject: [PATCH] Added in missing disconnect method. --- src/definitions/modules/range.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/definitions/modules/range.js b/src/definitions/modules/range.js index 3cb79ed01..e71376fb1 100644 --- a/src/definitions/modules/range.js +++ b/src/definitions/modules/range.js @@ -131,6 +131,14 @@ $.fn.range = function(parameters) { }, }, + disconnect: { + sliderObserver: function() { + if(sliderObserver) { + sliderObserver.disconnect(); + } + } + }, + setup: { layout: function() { if( $module.attr('tabindex') === undefined) {