projects
/
evergreen-equinox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
57681c5
)
a thought about the add/remove css funcs
author
senator
<lebbeous@esilibrary.com>
Thu, 3 Feb 2011 20:40:34 +0000 (15:40 -0500)
committer
senator
<lebbeous@esilibrary.com>
Thu, 3 Feb 2011 20:40:34 +0000 (15:40 -0500)
Open-ILS/web/opac/skin/kcls-wire/js/misc.js
patch
|
blob
|
history
diff --git
a/Open-ILS/web/opac/skin/kcls-wire/js/misc.js
b/Open-ILS/web/opac/skin/kcls-wire/js/misc.js
index
31165ed
..
8ca55fd
100644
(file)
--- a/
Open-ILS/web/opac/skin/kcls-wire/js/misc.js
+++ b/
Open-ILS/web/opac/skin/kcls-wire/js/misc.js
@@
-28,6
+28,10
@@
function swapCSSClass(obj, old, newc) {
}
function addCSSClass(e,c) {
+ /* XXX I've seen much simpler implementation of this idea that just
+ * do a regexp replace on e.className. Any reason why we're making
+ * it so hard here? I could see the justification if there's a certain
+ * browser that doesn't cooperate. */
if(!e || !c) return;
var css_class_string = e.className;