Fix conflict between touchswipe and colorbox (closes #201)
The touchswipe action on tap was closing the colorbox window when it should not (when viewing a video file).
This commit is contained in:
@@ -154,7 +154,9 @@
|
||||
},
|
||||
tap:function(event, target){
|
||||
$.colorbox.close()
|
||||
}}).unbind("click");
|
||||
},
|
||||
excludedElements: $.fn.swipe.defaults.excludedElements + ", #colorbox"
|
||||
}).unbind("click");
|
||||
});
|
||||
</script>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user