Skip to content

Commit a5b0d06

Browse files
tweak
1 parent 267792b commit a5b0d06

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

js/generic.js

+8-2
Original file line numberDiff line numberDiff line change
@@ -483,8 +483,14 @@ const get_isTB = (METRIC) => new Promise(resolve => {
483483
let css = document.createElement("link")
484484
if (!runSG) {
485485
try {
486-
// ToDo: TB13+: does not work on android
487-
css.href = "chrome://browser/content/abouttor/aboutTor.css" // TB13+
486+
// note: we do not know the OS yet
487+
// TB13: does not work on android
488+
let path = 'chrome://browser/content/abouttor/aboutTor.css'
489+
// TB14 (added TB13.5)
490+
if (isVer > 127) {
491+
path = 'chrome://global/content/torconnect/aboutTorConnect.css'
492+
}
493+
css.href = path
488494
css.type = "text/css"
489495
css.rel = "stylesheet"
490496
document.head.appendChild(css)

0 commit comments

Comments
 (0)