Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jappix/jappix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorValérian Saliou <valerian@valeriansaliou.name>2015-01-03 22:40:22 +0300
committerValérian Saliou <valerian@valeriansaliou.name>2015-01-03 22:40:22 +0300
commit0d636554993c5633c142f21fb4875b57e0e3bded (patch)
tree536f28ec606e68b785751978cf1854c6fadae2a4 /app
parent0e1d970243ad8e4153b8b35255b9f6f6a436c662 (diff)
fixes #522
Signed-off-by: Valérian Saliou <valerian@valeriansaliou.name>
Diffstat (limited to 'app')
-rw-r--r--app/javascripts/jsjac.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascripts/jsjac.js b/app/javascripts/jsjac.js
index 7d69e384..3e870100 100644
--- a/app/javascripts/jsjac.js
+++ b/app/javascripts/jsjac.js
@@ -1829,7 +1829,7 @@ JSJaCPacket.prototype.setXMLLang = function(xmllang) {
// Also due to issues with both BD and jQuery being used, employ a simple regexp since the detection
// here is very limited.
- if (navigator.appVersion.match(/^.*MSIE (\d)/) || navigator.userAgent.match(/Trident\/(\d+)((\.)(\d+))?/))
+ if (navigator.appVersion.match(/^.*MSIE (\d)/) || navigator.appVersion.match(/Trident/))
return this;
if (!xmllang || xmllang == '')
this.getNode().removeAttribute('xml:lang');