Changed bookmarklet code to open in a new window

This commit is contained in:
Andrew Davidson 2010-10-05 13:27:59 +08:00
parent 26a91aa694
commit 95ec0de2da

View file

@ -1,5 +1,5 @@
<div id="information"> <div id="information">
<p>Bookmarklet: <p>Bookmarklet:
<a href="javascript:void(location.href='<%= Shorten.base_url %>create/' + encodeURIComponent(location.href));"><%= Shorten.button_text %></a> <a href="javascript:void(window.open('<%= Shorten.base_url %>create/' + encodeURIComponent(location.href)));"><%= Shorten.button_text %></a>
</p> </p>
</div> </div>