diff options
author | Sebastin Santy <sebastinssanty@gmail.com> | 2017-08-15 04:00:44 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2017-08-15 04:00:44 +0200 |
commit | 1a35dbbc73f74efa955227a04acf74c465bd1e49 (patch) | |
tree | 81523ce3127e08997b8c049ba3a438476c254839 /extensions/BugModal/web/new_bug.js | |
parent | e5ee36ba43a80554aceb04d6b6c4504c6d21e3fb (diff) | |
download | bugzilla-1a35dbbc73f74efa955227a04acf74c465bd1e49.tar.gz bugzilla-1a35dbbc73f74efa955227a04acf74c465bd1e49.tar.xz |
Bug 1387106 - UI tweaks and ideas
Diffstat (limited to 'extensions/BugModal/web/new_bug.js')
-rw-r--r-- | extensions/BugModal/web/new_bug.js | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/extensions/BugModal/web/new_bug.js b/extensions/BugModal/web/new_bug.js index 32dbe4783..87a43eee7 100644 --- a/extensions/BugModal/web/new_bug.js +++ b/extensions/BugModal/web/new_bug.js @@ -121,5 +121,15 @@ $(document).ready(function() { document.getElementById('reset').style.display = "none"; $("#description").prop('required',false); }); - + $('#comment-edit-tab') + .click(function() { + $('#comment-preview-tab').css("background-color", "#fff"); + $(this).css("background-color", "#eee"); + }); + $('#comment-preview-tab') + .click(function() { + $('#comment-edit-tab').css("background-color", "#fff"); + $(this).css("background-color", "#eee"); + }); + $('#comment-edit-tab').click(); }); |