Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions scripts/resources/jquery.events.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,9 @@
$el.data('lastclick-timeout',timeout);
};
var check = function(event){
// Don't allow default actions when we're using lastclick
event.preventDefault();

// Fetch
var Me = this;
clear.call(Me);
Expand Down Expand Up @@ -239,6 +242,10 @@
event.type = 'firstclick';
$.event.handle.apply(Me, [event])
}
// Don't allow default actions on the remaining clicks when we're using firstclick
else {
event.preventDefault();
}
// Handle Timeout for when All Clicks are Completed
var timeout = setTimeout(function(){
// Clear Timeout
Expand Down