corrade-nucleus-nucleons – Diff between revs 33 and 34

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 33 Rev 34
Line 51... Line 51...
51 // Remove scripts from the nucleon if they are already added to the DOM. 51 // Remove scripts from the nucleon if they are already added to the DOM.
52 var nowScripts = $(document).find('script').each(function() { 52 var nowScripts = $(document).find('script').each(function() {
53 var src = $(this).attr('src'); 53 var src = $(this).attr('src');
54 if(nucleonScripts[src] === undefined) 54 if(nucleonScripts[src] === undefined)
55 return; 55 return;
-   56 alert(nucleonScripts[src]);
56 $(data).remove(nucleonScripts[src]); 57 $(data).remove(nucleonScripts[src]);
57 }); 58 });
58 $(data).hide().appendTo('#window-manager-desktop').fadeIn(750); 59 $(data).hide().appendTo('#window-manager-desktop').fadeIn(750);
59 }).done(function(data) { 60 }).done(function(data) {
60 // Change the nucleon icon back. 61 // Change the nucleon icon back.