]> git.plutz.net Git - serve0/blobdiff - pages/list.sh
submit page locators via post instead of relying on referrer
[serve0] / pages / list.sh
index 0ee2282bb32eece0369c3ad68e681c85c4c92702..7b68f29098e9463ca90edc50875a4d589e2a0724 100755 (executable)
@@ -78,9 +78,9 @@ _printVideo(){
 
     tee "$cache" <<VIDEOend
       <li class="thumb">
-        <a class="watchlink" name="${linkinfo}" href="?action=watch&i=${linkinfo}">
+        <button class="watchlink" name="${linkinfo}" formaction="?action=watch&i=${linkinfo}">
           <img src="$thumb" alt="Preview not yet available">
-        </a>
+        </button>
         <h2>${htmlinfo}</h2>
         
         <input type="checkbox" name="tagsel" value="${htmlinfo}">