diff --git a/examples/index.html b/examples/index.html index 774e856..74252ee 100644 --- a/examples/index.html +++ b/examples/index.html @@ -50,7 +50,7 @@
- +
diff --git a/src/jquery.uls.core.js b/src/jquery.uls.core.js index 2299b0b..9647e95 100644 --- a/src/jquery.uls.core.js +++ b/src/jquery.uls.core.js @@ -98,7 +98,7 @@ that.$element.on( 'click', $.proxy( that.click, that ) ); // Handle click on close button - $( ".icon-close" ).on( 'click', $.proxy( that.click, that ) ); + $( "#uls-close" ).on( 'click', $.proxy( that.click, that ) ); // Handle key press events on the menu that.$menu.on('keypress', $.proxy(this.keypress, this) )