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

       Web browser: ---
             Bug #: 42013
           Summary: 'class' as property name
           Product: MediaWiki extensions
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: javascript, patch
          Severity: major
          Priority: Unprioritized
         Component: UniversalLanguageSelector
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---


Created attachment 11345
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=11345
Patch for ext.uls.init.js

Internet Explorer 8 generates

Meldung: Bezeichner, Zeichenfolge oder Zahl erwartet
Zeile: 254
Zeichen: 7
Code: 0
URI:
http://example.org/w/extensions/UniversalLanguageSelector/resources/js/ext.uls.init.js

the property name 'class' must be quoted because it is a keyword:

use
  { 'class': 'uls-prevlang-link' }
instead of
  { class: 'uls-prevlang-link' }

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to