]> git.plutz.net Git - serve0/commitdiff
include anchor in redirection after starting server display
authorpaul <paul@plutz.net>
Wed, 2 Mar 2016 16:23:23 +0000 (16:23 +0000)
committerpaul <paul@plutz.net>
Wed, 2 Mar 2016 16:23:23 +0000 (16:23 +0000)
svn path=/trunk/; revision=106

actions/watch.sh

index b0a5920b260535c97295945b2dc3f10abe074490..b79de8758d5497a50c305f585ca166cb0cba6ba3 100755 (executable)
@@ -56,7 +56,7 @@ case "${_COOKIE[watch]}" in
     elif [ -n "$location" ]; then
       DISPLAY=:0 XDG_RUNTIME_DIR=/run/user/1006 nohup /usr/bin/mplayer -ao pulse --quiet "${treeroot%/}/${location#/}" >/dev/null 2>/dev/null &
     fi
-    redirect "$HTTP_REFERER"
+    redirect "$HTTP_REFERER#$linkinfo"
   ;;
   *) redirect "?p=view&${watch_link}"
   ;;