diff --git a/lib/client/view.js b/lib/client/view.js index f5bd36e2..1f8d1231 100644 --- a/lib/client/view.js +++ b/lib/client/view.js @@ -20,8 +20,6 @@ var CloudCmd, Util, DOM, CloudFunc, $; Images.hideLoad(); Key.unsetBind(); }, - afterShow : afterShow, - beforeClose : Key.setBind, openEffect : 'none', @@ -31,14 +29,6 @@ var CloudCmd, Util, DOM, CloudFunc, $; width : '100%', minWidth : 0, minHeight : 0, - - helpers : { - overlay : { - css : { - 'background' : 'rgba(255, 255, 255, 0.1)' - } - } - }, padding : 0 }; @@ -71,10 +61,6 @@ var CloudCmd, Util, DOM, CloudFunc, $; Events.addKey(listener); } - function afterShow() { - Element.focus(); - } - /** * function shows FancyBox */ @@ -87,7 +73,6 @@ var CloudCmd, Util, DOM, CloudFunc, $; if (pData) { lElement = $(Element).append(pData); lFunc = function() { - afterShow(); Util.exec(pCallBack); }; @@ -159,6 +144,9 @@ var CloudCmd, Util, DOM, CloudFunc, $; 'background: none;' + 'width: 0;' + 'height: 0' + + '}' + + '.fancybox-overlay {' + + 'background: rgba(255, 255, 255, 0.1)' + '}' });