mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-22 23:16:53 +00:00
Update the password macro so that it can be used on the server
This commit is contained in:
parent
03623587e1
commit
35ddf7a81c
@ -20,8 +20,7 @@ exports.info = {
|
||||
};
|
||||
|
||||
exports.executeMacro = function() {
|
||||
var password = $tw.utils.getPassword(this.params.name);
|
||||
password = password || "";
|
||||
var password = $tw.browser ? $tw.utils.getPassword(this.params.name) : "";
|
||||
var attributes = {
|
||||
type: "password",
|
||||
value: password
|
||||
|
Loading…
Reference in New Issue
Block a user