mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-06 09:13:38 -08:00
Fix $tw.platform.isLinux on latest firefox (#3495)
This commit is contained in:
parent
cd0ce0cde5
commit
8542ebaecb
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ exports.startup = function() {
|
|||
if($tw.browser) {
|
||||
$tw.platform.isMac = /Mac/.test(navigator.platform);
|
||||
$tw.platform.isWindows = /win/i.test(navigator.platform);
|
||||
$tw.platform.isLinux = /Linux/i.test(navigator.appVersion);
|
||||
$tw.platform.isLinux = /Linux/i.test(navigator.platform);
|
||||
} else {
|
||||
switch(require("os").platform()) {
|
||||
case "darwin":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue