diff webapp/src/main/webapp/jquery/jquery.digilib.js @ 915:ee3383f80cb0

fix bug with fullscreen mode
author robcast
date Mon, 29 Aug 2011 19:58:33 +0200
parents 1180d7a6aec1
children 104fc89ef68b
line wrap: on
line diff
--- a/webapp/src/main/webapp/jquery/jquery.digilib.js	Thu Aug 11 15:27:09 2011 +0200
+++ b/webapp/src/main/webapp/jquery/jquery.digilib.js	Mon Aug 29 19:58:33 2011 +0200
@@ -370,7 +370,7 @@
                         // take current host
                         var url = window.location.toString();
                         // assume the page lives in [webapp]/jquery/
-                        var pos = url.indexOf('jquery/');
+                        var pos = url.indexOf('/jquery/');
                         if (pos > 0) {
                             elemSettings.digilibBaseUrl = url.substring(0, pos);
                         }