From 52dfe3d11f1ad377f8310e27ee05c2bbf8d54a8b Mon Sep 17 00:00:00 2001 From: Paul Date: Mon, 8 Aug 2016 11:12:56 +0700 Subject: [PATCH] Fixed styling mistakes. Removed stale 'Clear Cached Requests' button. For #26. --- src/content/js/restclient.main.js | 5 ++--- src/content/restclient.html | 7 +++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/content/js/restclient.main.js b/src/content/js/restclient.main.js index 4964c51..aa3ac5b 100644 --- a/src/content/js/restclient.main.js +++ b/src/content/js/restclient.main.js @@ -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(); @@ -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) { diff --git a/src/content/restclient.html b/src/content/restclient.html index 9511aca..6482227 100644 --- a/src/content/restclient.html +++ b/src/content/restclient.html @@ -96,15 +96,14 @@ Settings