Przeglądaj źródła

Prevent click on bookmarklet

https://github.com/marienfressinaud/FreshRSS/issues/464
Alexandre Alapetite 12 lat temu
rodzic
commit
e80c482e53
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app/layout/aside_feed.phtml

+ 1 - 1
app/layout/aside_feed.phtml

@@ -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>