From 581a9c8e526d3441c40be6465de41d999f5104ee Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: Feb 02 2016 10:51:51 +0000 Subject: fix for #676: hide preview pane in create issue the preview pane in the create issue page previously was always displayed. This commit hides the preview with javascript when the page is loaded, and now is only shown if the user clicks the preview toggle button --- diff --git a/pagure/templates/new_issue.html b/pagure/templates/new_issue.html index 1898483..b6c6cf3 100644 --- a/pagure/templates/new_issue.html +++ b/pagure/templates/new_issue.html @@ -135,6 +135,7 @@ $(document).ready(function() { {% endif %} $(function() { + $( "#preview" ).hide(); $( "#previewinmarkdown" ).click( function(event, ui) { if ($( "#previewinmarkdown" ).hasClass("inactive")){