Skip to content

Commit

Permalink
Fixed styling mistakes. Removed stale 'Clear Cached Requests' button.…
Browse files Browse the repository at this point in the history
… For #26.
  • Loading branch information
gear54rus committed Aug 8, 2016
1 parent 9c4b674 commit 52dfe3d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
5 changes: 2 additions & 3 deletions src/content/js/restclient.main.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,7 @@ restclient.main = {
$('.enable-curl').click(restclient.main.enableCurl);
$('.toggle-header-layout').click(restclient.main.toggleRequestHeaderLayout);
$('.toggle-request-timer').click(restclient.main.toggleRequestTimer);
$('.toggle-ta-autosize').click(restclient.main.toggleTAAutosize);
$('.clear-cached-requests').click(restclient.main.clearCachedRequests);
$('.toggle-ta-autosize').click(restclient.main.toggleTAAutosize);
$('h4 ~ #curl-command').prev().children('a').click(function () {
restclient.main.updateCurlCommand();
restclient.main.showCurl();
Expand Down Expand Up @@ -211,7 +210,7 @@ restclient.main = {
$('#request-headers .tag').hide();
$('#request-headers .table').show();
$('.toggle-header-layout').attr('data-layout', 'table');
$('.toggle-header-layout').text('List request headers in tag');
$('.toggle-header-layout').text('List request headers in tags');
}

if (requestTimer === true) {
Expand Down
7 changes: 3 additions & 4 deletions src/content/restclient.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,14 @@
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Settings <b class="caret"></b></a>
<ul class="dropdown-menu">
<li class="nav-header">Layout</li>
<li><a style="cursor:pointer" class="toggle-header-layout" data-layout="tag">List Request Headers in Table</a></li>
<li><a style="cursor:pointer" class="toggle-header-layout" data-layout="tag">List request headers in table</a></li>
<li class="divider"></li>
<li class="nav-header">Develop</li>
<li class="nav-header">Features</li>
<li><a style="cursor:pointer" class="enable-curl" data-curl="disabled">Enable cURL</a></li>
<li><a style="cursor:pointer" class="toggle-request-timer" data-timer="disabled">Enable Request Execution Timer</a></li>
<li><a style="cursor:pointer" class="toggle-ta-autosize" data-ta-autosize="disabled">Enable Textarea Autoresize</a></li>
<li><a style="cursor:pointer" class="clear-cached-requests">Clear Cached Requests</a></li>
<li class="divider"></li>
<li class="nav-header">Skins (bootswatch.com)</li>
<li class="nav-header">Skins</li>
<li><a href="#" onclick="return false;" data-theme="amelia">Amelia</a></li>
<li><a href="#" onclick="return false;" data-theme="cerulean">Cerulean</a></li>
<li><a href="#" onclick="return false;" data-theme="cosmo">Cosmo</a></li>
Expand Down

0 comments on commit 52dfe3d

Please # to comment.