Fix XPI note loading in Fx17 due to navigator.userAgent error
This commit is contained in:
parent
d7ce389201
commit
2fc4ca59bd
File diff suppressed because one or more lines are too long
4
chrome/content/zotero/tinymce/tiny_mce.js
vendored
4
chrome/content/zotero/tinymce/tiny_mce.js
vendored
|
@ -12,7 +12,9 @@
|
||||||
releaseDate : '2012-09-20',
|
releaseDate : '2012-09-20',
|
||||||
|
|
||||||
_init : function() {
|
_init : function() {
|
||||||
var t = this, d = document, na = navigator, ua = na.userAgent, i, nl, n, base, p, v;
|
// Modified by Dan S./Zotero
|
||||||
|
//var t = this, d = document, na = navigator, ua = na.userAgent, i, nl, n, base, p, v;
|
||||||
|
var t = this, d = document, na = navigator, ua = "Gecko " + na.platform, i, nl, n, base, p, v;
|
||||||
|
|
||||||
t.isOpera = win.opera && opera.buildNumber;
|
t.isOpera = win.opera && opera.buildNumber;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user