Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #3 from pitr/patch-1

call original onclick() only if it exists
  • Loading branch information...
commit 29ef7d57afbe0beb32b0cda51f66addbe5d97ab8 2 parents 9995c9c + 1814104
@jed jed authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/kibi.js
View
2  src/kibi.js
@@ -22,7 +22,7 @@ kibi = new function() {
}
document.onclick=function(e) {
- onclick(e)
+ if(onclick) onclick(e)
e = (e || event).target
Please sign in to comment.
Something went wrong with that request. Please try again.