Skip to content

Commit 13bbee4

Browse files
Fix for brutaldesign#151, can now be closed programatically.
1 parent beb97b2 commit 13bbee4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/js/jquery.swipebox.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@
4242
</div>';
4343

4444
plugin.settings = {};
45+
46+
plugin.close = function (){
47+
ui.closeSlide();
48+
};
4549

4650
plugin.init = function() {
4751

0 commit comments

Comments
 (0)