X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=unfold%2Fjs%2Finit-all-plugins.js;h=735abba99e374e7d038b1fb8f3f6e369fd37adae;hb=f98463b2e5d7b2809fe8741b115602089f54b090;hp=53f0aaf49f888b74f1e45ad37819b3d75b6e40f1;hpb=0426cdd4479234df3498deb8675511cd26e866c2;p=myslice.git diff --git a/unfold/js/init-all-plugins.js b/unfold/js/init-all-plugins.js index 53f0aaf4..735abba9 100644 --- a/unfold/js/init-all-plugins.js +++ b/unfold/js/init-all-plugins.js @@ -7,11 +7,12 @@ $(document).ready(function() { var plugin='#'+$(this).attr('id').replace('hide-',''); var show='#'+$(this).attr('id').replace('hide-','show-'); $(plugin).slideUp(); $(show).show(); $(this).hide();}); - }) + }); $('.plugin-show').each(function() { $(this).click(function () { var plugin='#'+$(this).attr('id').replace('show-',''); var hide='#'+$(this).attr('id').replace('show-','hide-'); $(plugin).slideDown(); $(hide).show(); $(this).hide();}); - }) - }) + }); + $('.plugin-tooltip').each(function(){ $(this).tooltip({'selector':'','placement':'right'}); }); +})