diff options
Diffstat (limited to 'public/js/index.js')
-rw-r--r-- | public/js/index.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/public/js/index.js b/public/js/index.js index 121737ed..276c0c8b 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -283,6 +283,7 @@ var ui = { shortStatus: $(".ui-short-status"), status: $(".ui-status"), new: $(".ui-new"), + slide: $(".ui-slide"), publish: $(".ui-publish"), download: { markdown: $(".ui-download-markdown"), @@ -792,6 +793,7 @@ function closestIndex(arr, closestTo) { var url = window.location.pathname; //share ui.toolbar.publish.attr("href", url + "/publish"); +ui.toolbar.slide.attr("href", url + "/slide"); //download //markdown ui.toolbar.download.markdown.click(function () { @@ -2280,4 +2282,4 @@ $(editor.getInputField()) $(this).data('autocompleting', false); editor.setOption("extraKeys", defaultExtraKeys); } - });
\ No newline at end of file + }); |