From: Stefan Lage Date: Fri, 24 May 2013 01:15:03 +0000 (-0400) Subject: nitdoc: Adds a way to hide all edit tags X-Git-Tag: v0.6~46^2~24 X-Git-Url: http://nitlanguage.org nitdoc: Adds a way to hide all edit tags signed-off by: Stefan Lage --- diff --git a/share/nitdoc/scripts/js-facilities.js b/share/nitdoc/scripts/js-facilities.js index b1efd17..0041b54 100644 --- a/share/nitdoc/scripts/js-facilities.js +++ b/share/nitdoc/scripts/js-facilities.js @@ -24,6 +24,15 @@ var currentIndex = -1; * Add folding and filtering facilities to class description page. */ $(document).ready(function() { + + // Hide edit tags + $('textarea').hide(); + $('a[id=commitBtn]').hide(); + $('a[id=cancelBtn]').hide(); + // Hide Authenfication form + $(".popover").hide(); + // Update display + updateDisplaying(); /* * Highlight the spoted element @@ -364,7 +373,7 @@ $(document).ready(function() { updateDisplaying(); // If cookie existing the session is opened if(sessionStarted){ userB64 = "Basic " + getUserPass("logginNitdoc"); } - + // Sign In an github user or Log out him $("#signIn").click(function(){ if(!sessionStarted){