mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-04-17 11:02:11 -07:00
jsontiddlers macro: parse "spaces" parameter as integer
This commit is contained in:
parent
de5b0062b5
commit
f21d013241
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ exports.params = [
|
|||
Run the macro
|
||||
*/
|
||||
exports.run = function(filter,spaces) {
|
||||
return this.wiki.getTiddlersAsJson(filter,spaces);
|
||||
return this.wiki.getTiddlersAsJson(filter,$tw.utils.parseInt(spaces));
|
||||
};
|
||||
|
||||
})();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue