JavaScript version broken for unsupported locales

JavaScript version broken for unsupported locales

Postby knakts on Fri Dec 01, 2017 1:56 pm

JavaScript version broken for unsupported localse – displays blank area.

My locale is "lv" (Latvian) (both Firefox and Chrome are in Latvian), so apparently goproblems tries to load file "http://www.goproblems.com/js/tr/lv.js" based on the locale and fails. It then causes a JS error "eidogo.p18n is undefined" in "comments.js" and everything breaks.

Please, make a fallback in case goproblems don't have support for a specific locale!
knakts
 
Posts: 1
Joined: Fri Dec 01, 2017 1:48 pm

Return to Bugs

Who is online

Users browsing this forum: No registered users and 2 guests

cron