mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-24 03:05:41 +00:00
minor changes
This commit is contained in:
parent
abeb01ac61
commit
c8292863dc
1 changed files with 7 additions and 7 deletions
|
|
@ -39,8 +39,8 @@ CloudCommander.Viewer.FancyBox = {
|
|||
padding : 0
|
||||
};
|
||||
}),
|
||||
load:(function(pParent){
|
||||
return function(){
|
||||
load: (function(pParent){
|
||||
return function(){
|
||||
var ljsLoad_f = function(){
|
||||
CloudCommander.jsload(
|
||||
'http://fancyapps.com/fancybox/source/jquery.fancybox.pack.js',{
|
||||
|
|
@ -56,14 +56,14 @@ CloudCommander.Viewer.FancyBox = {
|
|||
func : {
|
||||
onload: ljsLoad_f,
|
||||
onerror: (function(){
|
||||
CloudCommander.cssLoad({
|
||||
src : pParent +'jquery.fancybox.css',
|
||||
func : ljsLoad_f
|
||||
});
|
||||
CloudCommander.cssLoad({
|
||||
src : pParent +'jquery.fancybox.css',
|
||||
func : ljsLoad_f
|
||||
});
|
||||
})
|
||||
}
|
||||
});
|
||||
},
|
||||
};
|
||||
}),
|
||||
set: function(){
|
||||
if(this.getByClass('fancybox').length)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue