Kaynağa Gözat

Changement de hash plus standard

https://github.com/marienfressinaud/FreshRSS/pull/340
Alexandre Alapetite 12 yıl önce
ebeveyn
işleme
b243ec163a
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      p/scripts/main.js

+ 1 - 1
p/scripts/main.js

@@ -223,7 +223,7 @@ function collapse_entry() {
 function auto_share() {
 function auto_share() {
 	var share = $(".flux.current.active").find('.dropdown-target[id^="dropdown-share"]');
 	var share = $(".flux.current.active").find('.dropdown-target[id^="dropdown-share"]');
 	if (share.length) {
 	if (share.length) {
-		window.location.replace('./#' + share.attr('id'));
+		window.location.hash = share.attr('id');
 	}
 	}
 }
 }