aboutsummaryrefslogtreecommitdiffstats
path: root/themes/smartpocket/js/smartpocket.js
diff options
context:
space:
mode:
Diffstat (limited to 'themes/smartpocket/js/smartpocket.js')
-rw-r--r--themes/smartpocket/js/smartpocket.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/themes/smartpocket/js/smartpocket.js b/themes/smartpocket/js/smartpocket.js
index 0b076fcc0..629fe668c 100644
--- a/themes/smartpocket/js/smartpocket.js
+++ b/themes/smartpocket/js/smartpocket.js
@@ -2,10 +2,11 @@
$(document).ready(function(){
var options = {
jQueryMobile: true,
- captionAndToolbarAutoHideDelay: 0,
+ loop: var_loop,
+ captionAndToolbarAutoHideDelay: var_autohide,
imageScaleMethod: "fitNoUpscale",
getToolbar: function(){
-return '<div class="ps-toolbar-close"><div class="ps-toolbar-content"></div></div><div class="ps-toolbar-play"><div class="ps-toolbar-content"></div></div><a href="#" id="more_link">More Information</a><div class="ps-toolbar-previous"><div class="ps-toolbar-content"></div></div><div class="ps-toolbar-next"><div class="ps-toolbar-content"></div></div>';},
+return '<div class="ps-toolbar-close"><div class="ps-toolbar-content"></div></div><div class="ps-toolbar-play"><div class="ps-toolbar-content"></div></div><a href="#" id="more_link">'+var_trad+'</a><div class="ps-toolbar-previous"><div class="ps-toolbar-content"></div></div><div class="ps-toolbar-next"><div class="ps-toolbar-content"></div></div>';},
getImageMetaData:function(el){
return {
picture_url: $(el).attr('data-picture-url')