From 8b0cc42075d5f15233adaafa87dc71d5aaa2fbce Mon Sep 17 00:00:00 2001 From: Bonbadil Date: Wed, 15 Oct 2014 22:58:33 +0200 Subject: [PATCH] Use cloud symbols for the publish button. --- index.html | 2 +- js/App.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index bbd0e05..237f465 100644 --- a/index.html +++ b/index.html @@ -87,7 +87,7 @@
- P + diff --git a/js/App.js b/js/App.js index 3d1d674..f962593 100644 --- a/js/App.js +++ b/js/App.js @@ -350,9 +350,9 @@ App.prototype.showFull = function(article, slide_back) { } if(article.published) { - $("#setpublished").innerHTML = "U"; + $("#setpublished").innerHTML = ""; } else { - $("#setpublished").innerHTML = "P"; + $("#setpublished").innerHTML = "☁"; } }; @@ -471,12 +471,12 @@ App.prototype.togglePublished = function() { if(!article.published) { article.published = true; this.backend.setArticlePublished(article); - $("#setpublished").innerHTML = "U"; + $("#setpublished").innerHTML = ""; } else { article.published = false; this.backend.setArticleUnpublished(article); - $("#setpublished").innerHTML = "P"; + $("#setpublished").innerHTML = "☁"; } };