diff options
author | jackycute | 2015-11-28 21:57:35 -0600 |
---|---|---|
committer | jackycute | 2015-11-28 21:57:35 -0600 |
commit | d6dec55a07ceacbc21aa211b90c18fcf0d189013 (patch) | |
tree | b6f43191518b16f74ca33b1406567a0ffcaa6f32 /public/js/index.js | |
parent | 75ae505a1544d8999e6705aad7ed96ff5a6eb0e5 (diff) | |
parent | f51b7370f030c5cd1235fa7a23514a7e1ccef2dd (diff) |
Merge pull request #43 from x000032001/master
Add Slide Mode
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 + }); |