diff --git a/lib/client/viewer.js b/lib/client/viewer.js index b58bb694..67cb6faa 100644 --- a/lib/client/viewer.js +++ b/lib/client/viewer.js @@ -2,10 +2,8 @@ var CloudCommander, CloudFunc, $; /* object contains viewer FancyBox * https://github.com/fancyapps/fancyBox */ -CloudCommander.Viewer = { - LIBDIR : './lib', - LIBDIRSERVER : './lib/server', - dir : this.LIBDIRCLIENT + 'viewer/', +CloudCommander.Viewer = { + dir : './lib/viewer/', getByClass : function(pClass){ return document.getElementsByClassName(pClass);