diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2019-11-17 18:36:11 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2019-11-17 18:36:11 +0000 |
| commit | 51e2b88f641a0283e5f84ac3e68654fd7e5d883c (patch) | |
| tree | 19af3e369331b182df4987f2c52fc7ef83e13ed3 | |
| parent | fix PUT :<type> (diff) | |
| download | mmm-51e2b88f641a0283e5f84ac3e68654fd7e5d883c.tar.gz mmm-51e2b88f641a0283e5f84ac3e68654fd7e5d883c.zip | |
fix navlinks
| -rw-r--r-- | mmm/mmmfs/browser.moon | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mmm/mmmfs/browser.moon b/mmm/mmmfs/browser.moon index 9cda4b2..80b47c4 100644 --- a/mmm/mmmfs/browser.moon +++ b/mmm/mmmfs/browser.moon @@ -99,7 +99,7 @@ class Browser .node.innerHTML = '' \append span 'path: ', @path\map (path) -> with div class: 'path', style: { display: 'inline-block' } path_segment = (name, href) -> - a name, :href, onclick: (_, e) -> + a name, href: "#{href}/", onclick: (_, e) -> e\preventDefault! @navigate href |
