From dde083f70132615b007a80812d64b27ad0982464 Mon Sep 17 00:00:00 2001 From: Paulius Urmonas Date: Thu, 21 Jul 2016 09:57:12 +0300 Subject: [PATCH] [Dropdown] Disconnect.selectObserver bugfix Dropdown function 'disconnect.selectObserver' trying to disconnect menuObserver instead. --- src/definitions/modules/dropdown.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/definitions/modules/dropdown.js b/src/definitions/modules/dropdown.js index bf7c548db..53e22e4e9 100644 --- a/src/definitions/modules/dropdown.js +++ b/src/definitions/modules/dropdown.js @@ -154,8 +154,8 @@ $.fn.dropdown = function(parameters) { } }, selectObserver: function() { - if(menuObserver) { - menuObserver.disconnect(); + if(selectObserver) { + selectObserver.disconnect(); } } },