#354: hiding permalink until first change/process
authorvagrant <vagrant@web.local>
Tue, 08 Jul 2014 18:49:14 +0000
changeset 2163 197b64159d79
parent 2162 7dd3135718da
child 2164 bbd26f6da88c
#354: hiding permalink until first change/process
playground/index.html
playground/playground.js
--- a/playground/index.html	Tue Jul 08 18:28:01 2014 +0000
+++ b/playground/index.html	Tue Jul 08 18:49:14 2014 +0000
@@ -121,7 +121,7 @@
         </div>
 
         <div class="pull-right">
-          <a class="btn" id="permalink">
+          <a class="btn hide" id="permalink">
             <i class="icon icon-link"></i>
             <span>Permalink</span>
           </a>
--- a/playground/playground.js	Tue Jul 08 18:28:01 2014 +0000
+++ b/playground/playground.js	Tue Jul 08 18:49:14 2014 +0000
@@ -854,6 +854,7 @@
     $("#permalink")
       .popover("hide")
       .attr({href: playground.permalink.url})
+      .removeClass("hide")
       .toggleClass("btn-danger", messages.danger.length !== 0)
       .toggleClass("btn-warning", messages.warning.length !== 0)
     .find("span")