little update

This commit is contained in:
devin committed 2012-04-10 18:09:29 +08:00
1 parent 360e5228b7
commit ee85380ab2
3 files changed
+17 -17

No files matched your search

+5 -5
View File
@@ -331,14 +331,14 @@ var orbitDesktop = function(dom){
});
}
if(!o.desktopData[o.currentface]){
// if(!o.desktopData[o.currentface]){
$(o.contentHolder).empty().load("/desktop/"+target,function(){
bindHandlers();
});
}else{
$(o.contentHolder).html(o.desktopData[o.currentface]);
bindHandlers();
}
// }else{
// $(o.contentHolder).html(o.desktopData[o.currentface]);
// bindHandlers();
// }
};
this.loadWallpaper = function(wallpaper){
if(!wallpaper)wallpaper = o.themesettings.background;