For some reason removeAttribute() is raising errors, try this instead.
authorJan Schneider <jan@horde.org>
Tue, 22 Jun 2010 15:03:38 +0000 (17:03 +0200)
committerJan Schneider <jan@horde.org>
Tue, 22 Jun 2010 15:36:33 +0000 (17:36 +0200)
horde/js/tooltips.js

index 0061d81..23d4ffd 100644 (file)
@@ -21,7 +21,9 @@ var Horde_ToolTips =
             return;
         }
         e.store('nicetitle', t);
-        e.removeAttribute('title');
+        if (!e.title.empty()) {
+            e.title == '';
+        }
         e.observe('mouseover', this.onMouseover.bindAsEventListener(this));
         e.observe('mouseout', this.out.bind(this));
         e.observe('focus', this.onFocus.bindAsEventListener(this));