summaryrefslogtreecommitdiff
path: root/public
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
parent85c67212ad5f5a0d5ceb9104d4ed22d8e8e54457 (diff)
Change note action "share" to "publish" to avoid misleading
Diffstat (limited to 'public')
-rw-r--r--public/js/index.js4
-rw-r--r--public/views/header.ejs6
2 files changed, 5 insertions, 5 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 () {
diff --git a/public/views/header.ejs b/public/views/header.ejs
index 7aee5351..d1872977 100644
--- a/public/views/header.ejs
+++ b/public/views/header.ejs
@@ -24,7 +24,7 @@
<ul class="dropdown-menu" role="menu" aria-labelledby="menu">
<li role="presentation"><a role="menuitem" class="ui-new" tabindex="-1" href="./new" target="_blank"><i class="fa fa-plus fa-fw"></i> New</a>
</li>
- <li role="presentation"><a role="menuitem" class="ui-share" tabindex="-1" href="#" target="_blank"><i class="fa fa-share-alt fa-fw"></i> Share</a>
+ <li role="presentation"><a role="menuitem" class="ui-publish" tabindex="-1" href="#" target="_blank"><i class="fa fa-print fa-fw"></i> Publish</a>
</li>
<li class="divider"></li>
<li class="dropdown-header">Save</li>
@@ -85,8 +85,8 @@
</a>
</li>
<li>
- <a href="#" target="_blank" class="ui-share">
- <i class="fa fa-share-alt"></i> Share
+ <a href="#" target="_blank" class="ui-publish">
+ <i class="fa fa-print"></i> Publish
</a>
</li>
<li>