auto-browse needs to use the 16x16 icons instead of 32x32 which are used in slideshow
[phpfspot.git] / phpfspot.js
index 8db1f651b132cbf964f6fe4ef06280a5f31c2d2e..b4e8421e045bd33147bd332ae2d2a46bd54c5da3 100644 (file)
@@ -757,12 +757,12 @@ function autoBrowse()
    if(document.getElementById('next_link')) {
       var next_link = document.getElementById('next_link').href;
       window.location.href = next_link;
-      document.getElementById('autobrowse_ico').src = web_path + "/resources/32_pause.png";
+      document.getElementById('autobrowse_ico').src = web_path + "/resources/16_pause.png";
    }
    /* we have reached the last photo */
    else {
       if(ab_ico = document.getElementById('autobrowse_ico'))
-         ab_ico.src = web_path + "/resources/32_play.png";
+         ab_ico.src = web_path + "/resources/16_play.png";
       clearInterval(autobrowse);
    }