aboutsummaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/main.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/js/main.js b/js/main.js
index 6c5095087..ed8d4ec3f 100644
--- a/js/main.js
+++ b/js/main.js
@@ -269,12 +269,8 @@
if($('#live-network').length) { src = 'network'; liveUpdate(); }
if($('#live-channel').length) { src = 'channel'; liveUpdate(); }
if($('#live-community').length) { src = 'community'; liveUpdate(); }
- if($('#live-display').length) {
- if(liking) {
- liking = 0;
- window.location.href=window.location.href
- }
- }
+ if($('#live-display').length) { src = 'display'; liveUpdate(); }
+
if($('#live-photos').length) {
if(liking) {
liking = 0;