Skip to content
This repository has been archived by the owner on Sep 24, 2019. It is now read-only.

Commit

Permalink
Fixed small bug with mousedown and mouseup not firing
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Pyles committed Jul 7, 2010
1 parent ebc9a03 commit 984c6c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions jquery.uniform.js
Expand Up @@ -119,9 +119,11 @@ Enjoy!
},
"mousedown.uniform": function(){
divTag.addClass(options.activeClass);
console.log("mousedown");
},
"mouseup.uniform": function(){
divTag.removeClass(options.activeClass);
console.log("mouseup");
},
"click.uniform": function(e){
if($(e.target).is("span") || $(e.target).is("div")){
Expand All @@ -142,12 +144,10 @@ Enjoy!
},
"blur.uniform": function(){
divTag.removeClass(options.focusClass);
},
"click.uniform": function(e){
}
});

$.uniform.noSelect(spanTag);
$.uniform.noSelect(divTag);
storeElement(elem);
}

Expand Down
2 changes: 1 addition & 1 deletion jquery.uniform.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 984c6c7

Please sign in to comment.