https://bugzilla.wikimedia.org/show_bug.cgi?id=33562

--- Comment #4 from kipod <fur.hew...@gmail.com> 2012-03-16 19:13:03 UTC ---
also please note that tipsy upstream  head version has a bug in the
"getTitle()" function
(same bug exists in the version currently used by mediawiki):

        getTitle: function() {
            var title, $e = this.$element, o = this.options;
            fixTitle($e);
            var title, o = this.options;
            if (typeof o.title == 'string') {
                title = $e.attr(o.title == 'title' ? 'original-title' :
o.title);

the last line should clearly be

                title = o.title == 'title' ? $e.attr('original-title') :
o.title;

this bug basically means you can't use a string in tipsy title - only functions
work.

in addition, the 4th line 
("
            var title, o = this.options;
") 
is clearly junk and should just be removed - it redeclares two variables that
are already declared.

peace.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to