Просмотр исходного кода

Prevent click on bookmarklet

https://github.com/marienfressinaud/FreshRSS/issues/464
Alexandre Alapetite 12 лет назад
Родитель
Сommit
e80c482e53
1 измененных файлов с 1 добавлено и 1 удалено
  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>