diff --git a/web/democode/perleditor.html b/web/democode/perleditor.html index b83da38..3051178 100644 --- a/web/democode/perleditor.html +++ b/web/democode/perleditor.html @@ -312,6 +312,12 @@ $(function () { var hashdata = window.location.hash.substr(1); var hash = hashdata.length>0 ? JSON.parse(decodeURIComponent(hashdata)) : {}; + $('#showtools').click(function () { + $('#thetools,#footer').toggle(); + $('#showtools').text( $('#thetools').is(':visible') + ? 'Hide Tools' : 'Show Tools' ); + }); + // script var addscript = $('#addscript'); if ( hash["script"] || hash["script_url"] ) { @@ -452,8 +458,9 @@ $(function () {
- Tools -   + Show Tools +
-