Prevent click on bookmarklet

https://github.com/marienfressinaud/FreshRSS/issues/464
This commit is contained in:
Alexandre Alapetite
2014-03-30 19:23:28 +02:00
parent ce3fbff61d
commit e80c482e53

View File

@@ -44,7 +44,7 @@
</form></li>
<li class="item">
<a href="javascript:(function(){var%20url%20=%20location.href;window.open('<?php echo Minz_Url::display(array('c' => 'feed', 'a' => 'add'), 'html', true); ?>&amp;url_rss='+encodeURIComponent(url), '_blank');})();">
<a onclick="return false;" href="javascript:(function(){var%20url%20=%20location.href;window.open('<?php echo Minz_Url::display(array('c' => 'feed', 'a' => 'add'), 'html', true); ?>&amp;url_rss='+encodeURIComponent(url), '_blank');})();">
<?php echo Minz_Translate::t('bookmark'); ?>
</a>
</li>