From ad1be8c0af27ba171156d151e782815ad25d158a Mon Sep 17 00:00:00 2001 From: Ed S Date: Tue, 22 Apr 2014 00:14:39 -0700 Subject: [PATCH] Always close with 'cancel' method So that the onCancel callback is useful. Fixes #142 --- src/jquery.uls.core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jquery.uls.core.js b/src/jquery.uls.core.js index fe48a55..e2c3e3b 100644 --- a/src/jquery.uls.core.js +++ b/src/jquery.uls.core.js @@ -299,7 +299,7 @@ } } ); - $( 'html' ).click( $.proxy( this.hide, this ) ); + $( 'html' ).click( $.proxy( this.cancel, this ) ); }, /**