projects
/
HTML5TV.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
876124d
)
fix javascript warning if action isn't function
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sat, 10 Oct 2009 23:10:27 +0000
(
01:10
+0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sat, 10 Oct 2009 23:10:27 +0000
(
01:10
+0200)
www/jquery.sync.js
patch
|
blob
|
history
diff --git
a/www/jquery.sync.js
b/www/jquery.sync.js
index
b97074b
..
6b086e3
100644
(file)
--- a/
www/jquery.sync.js
+++ b/
www/jquery.sync.js
@@
-100,7
+100,7
@@
CustomEvent.prototype.setActive = function(isActive) {
Event.prototype.setActive.call(this, isActive);
- this.action(isActive, this.args);
+
if ( typeof this.action === 'function' )
this.action(isActive, this.args);
}
/**