summaryrefslogtreecommitdiff
path: root/public/js/index.js
diff options
context:
space:
mode:
authorWu Cheng-Han2015-07-06 13:51:55 +0800
committerWu Cheng-Han2015-07-06 13:51:55 +0800
commit04eef71b1164c31fd570c938d26dc1d7fd08ab9b (patch)
tree9c116fbe1681ab6dcf6f70e27a7f61dec32b7f36 /public/js/index.js
parent85c67212ad5f5a0d5ceb9104d4ed22d8e8e54457 (diff)
Change note action "share" to "publish" to avoid misleading
Diffstat (limited to 'public/js/index.js')
-rw-r--r--public/js/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/js/index.js b/public/js/index.js
index bf3a3ab2..43b02ad5 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -234,7 +234,7 @@ var ui = {
shortStatus: $(".ui-short-status"),
status: $(".ui-status"),
new: $(".ui-new"),
- share: $(".ui-share"),
+ publish: $(".ui-publish"),
download: {
markdown: $(".ui-download-markdown")
},
@@ -618,7 +618,7 @@ function changeMode(type) {
//button actions
var url = window.location.pathname;
//share
-ui.toolbar.share.attr("href", url + "/share");
+ui.toolbar.publish.attr("href", url + "/publish");
//download
//markdown
ui.toolbar.download.markdown.click(function () {