Explorar o código

Prevent click on bookmarklet

https://github.com/marienfressinaud/FreshRSS/issues/464
Alexandre Alapetite %!s(int64=12) %!d(string=hai) anos
pai
achega
e80c482e53
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/layout/aside_feed.phtml

+ 1 - 1
app/layout/aside_feed.phtml

@@ -44,7 +44,7 @@
 	</form></li>
 	</form></li>
 
 
 	<li class="item">
 	<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'); ?>
 			<?php echo Minz_Translate::t('bookmark'); ?>
 		</a>
 		</a>
 	</li>
 	</li>