public/assets/js/application.js
changeset 64 f66d935647bc
parent 38 6fa3cf9cf915
--- a/public/assets/js/application.js	Fri May 08 19:41:08 2015 +0200
+++ b/public/assets/js/application.js	Fri May 08 20:46:42 2015 +0200
@@ -5,10 +5,13 @@
     $('.expand').click(function () {
         $(".shortened-signature", $(this).parents('table')).each(function () {
             $(this).text($(this).attr('title')).removeAttr('title');
+            $(this).removeClass("prettyprinted");
         });
+        prettyPrint();
         $(this).remove();
         return false;
     });
 
     $('a[data-toggle="tooltip"]').tooltip();
+    prettyPrint();
 });