Skip to content

Commit c182435

Browse files
Fix for brutaldesign#107 and moved close function into $.swipebox
1 parent 785b780 commit c182435

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/js/jquery.swipebox.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,13 @@
4444

4545
plugin.settings = {};
4646

47-
plugin.close = function (){
47+
$.swipebox.close = function (){
4848
ui.closeSlide();
4949
};
50+
51+
$.swipebox.extend = function (){
52+
return ui;
53+
}
5054

5155
plugin.init = function() {
5256

0 commit comments

Comments
 (0)