1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-25 23:03:15 +00:00

Confirmation message for $tw.slowmo()

This commit is contained in:
Jeremy Ruston 2013-07-14 23:13:13 +01:00
parent 4655a7a4d7
commit 8c73d8db4b

View File

@ -22,6 +22,7 @@ exports.slowmo = function(status) {
$tw.config.preferences.animationDuration = 400;
}
$tw.config.preferences.animationDurationMs = $tw.config.preferences.animationDuration + "ms";
return "Slowmo is " + ($tw.config.preferences.animationDuration === 400 ? "dis" : "") + "engaged."
};
})();