X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=static%2Fjs%2Fplugin.js;h=015f001a2fda2c8546fbe59b2dad34e0b042d53c;hb=94faa2bc90f0b7ab579986fc8d13f434996f7d6e;hp=4d8346db80724847da687d3353eecda528f8a96e;hpb=ee4bff70dd38e334edb0216b3c27a90facfc6244;p=unfold.git diff --git a/static/js/plugin.js b/static/js/plugin.js index 4d8346db..015f001a 100644 --- a/static/js/plugin.js +++ b/static/js/plugin.js @@ -9,19 +9,15 @@ $(document).ready(function() { $('.plugin-hide').each(function() { - window.console.log ('@load: id='+$(this).attr('id')); $(this).click(function () { var plugin='#'+$(this).attr('id').replace('hide-','plugin-'); var show='#'+$(this).attr('id').replace('hide-','show-'); - window.console.log ("Hiding:"+$(this).attr('id')+' plugin='+plugin+' show='+show); jQuery(plugin).hide(); jQuery(show).show(); $(this).hide();}); }) $('.plugin-show').each(function() { - window.console.log ('@load: id='+$(this).attr('id')); $(this).click(function () { var plugin='#'+$(this).attr('id').replace('show-','plugin-'); var hide='#'+$(this).attr('id').replace('show-','hide-'); - window.console.log ("Showing:"+$(this).attr('id')+' plugin='+plugin+' hide='+hide); jQuery(plugin).show(); jQuery(hide).show(); $(this).hide();}); }) })