From 549b97ed6cc718087ce8b9bff3c8556ab4ca7848 Mon Sep 17 00:00:00 2001 From: Scott González Date: Tue, 17 Jul 2012 15:27:26 -0400 Subject: Selectmenu: Fixed event unbinding. --- ui/jquery.ui.selectmenu.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index e4259e60d..a2d810c18 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/ui/jquery.ui.selectmenu.js @@ -108,7 +108,8 @@ $.widget( "ui.selectmenu", { }, _drawMenu: function() { - var that = this; + var menuInstance, + that = this; // create menu portion, append to body this.menu = $( '