mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 09:24:51 +00:00
Update lib/client/viewer.js
This commit is contained in:
parent
f353bad4e7
commit
457f86b735
1 changed files with 4 additions and 3 deletions
|
|
@ -97,10 +97,11 @@ CloudCommander.Viewer.FancyBox.set = (function(){
|
|||
var lImages = $('.fancybox');
|
||||
|
||||
for(var i=0; i < lImages.length; i++){
|
||||
var lConfig = this.getConfig();
|
||||
lConfig.href = lImages[i].href;
|
||||
lImages[i].ondblclick = (function(){
|
||||
$.fancybox(lConfig)
|
||||
var lConfig = this.getConfig();
|
||||
lConfig.href = lImages[i].href;
|
||||
|
||||
$.fancybox(lConfig);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue