projects
/
project/jcarousel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
8adceff
)
#1025442 by hadsie: Can't set buttonNextHTML and buttonPrevHTML values to NULL.
author
Nathan Haug
Fri, 14 Jan 2011 00:20:06 +0000 (
00:20
+0000)
committer
Nathan Haug
Fri, 14 Jan 2011 00:20:06 +0000 (
00:20
+0000)
js/jcarousel.js
patch
|
blob
|
blame
|
history
diff --git
a/js/jcarousel.js
b/js/jcarousel.js
index
8e64bce
..
0046f64
100644
(file)
--- a/
js/jcarousel.js
+++ b/
js/jcarousel.js
@@
-23,7
+23,7
@@
Drupal.behaviors.jcarousel = function(context, settings) {
}
// Change next and previous buttons to links for accessibility.
- if (!options.buttonNextHTML && !options.buttonPrevHTML) {
+ if (!options.hasOwnProperty('buttonNextHTML') && !options.hasOwnProperty('buttonPrevHTML')) {
options.buttonNextHTML = '<a href="javascript:void(0)"></a>';
options.buttonPrevHTML = '<a href="javascript:void(0)"></a>';
}