diff --git a/ui/data.js b/ui/data.js index e605f220..8b11496f 100755 --- a/ui/data.js +++ b/ui/data.js @@ -832,7 +832,7 @@ function openImage(){ // CEF if(window.CEF_runSystem != null){ // XXX if path is not present try and open the biggest preview... - return CEF_runSystem(IMAGES[getImageGID()].path) + return CEF_runSystem(normalizePath(IMAGES[getImageGID()].path, BASE_URL)) // PhoneGap } else if(false) { diff --git a/ui/modes.js b/ui/modes.js index 711ec818..b7d3508e 100755 --- a/ui/modes.js +++ b/ui/modes.js @@ -107,7 +107,6 @@ function toggleImageProportions(mode){ centerView(null, 'css') return 'viewer' } - }