Mercurial > hg > digilib-old
changeset 915:ee3383f80cb0
fix bug with fullscreen mode
author | robcast |
---|---|
date | Mon, 29 Aug 2011 19:58:33 +0200 |
parents | 1180d7a6aec1 |
children | 65b69783709b |
files | webapp/src/main/webapp/jquery/jquery.digilib.js |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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); }