Permalink
Browse files

Fix private warning display

  • Loading branch information...
1 parent c166de8 commit 6e67548c612cb87b8e26d34942fb2133b1acbe0f @nakajima committed Jul 3, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/bookmarklets/edit.html.erb
@@ -42,7 +42,7 @@
<div id="private-label">
<%= f.check_box :private, :onchange => '$("private-warning").toggle()' %>
<%= f.label :private, 'Keep Private <span>Do not show on home page</span>', :id => 'inject-label' %>
- <p id="private-warning" style="display:none;">
+ <p id="private-warning" style="display:<%= @bookmarklet.private? ? 'block' : 'none' %>;">
Private bookmarklets do not appear on the home page. If you make
your bookmarklet private, make sure you bookmark it. Heh.
</p>

0 comments on commit 6e67548

Please sign in to comment.