mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-26 19:47:20 +00:00
parent
051b29c5b3
commit
bc242cf83a
@ -2596,8 +2596,7 @@ $tw.boot.isStartupTaskEligible = function(taskModule) {
|
|||||||
for(t=0; t<remaining.length; t++) {
|
for(t=0; t<remaining.length; t++) {
|
||||||
var task = remaining[t];
|
var task = remaining[t];
|
||||||
if(task.before && task.before.indexOf(name) !== -1) {
|
if(task.before && task.before.indexOf(name) !== -1) {
|
||||||
//check if the other task matches the platform and is not disabled
|
if($tw.boot.doesTaskMatchPlatform(task) && (!task.name || $tw.boot.disabledStartupModules.indexOf(task.name) === -1)) {
|
||||||
if($tw.boot.doesTaskMatchPlatform(task) || (task.name && $tw.boot.disabledStartupModules.indexOf(task.name) === -1)) {
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user