From 799d435f2aa3fa49272b8ea49717a322957b0ba4 Mon Sep 17 00:00:00 2001 From: kaso17 Date: Mon, 27 Feb 2017 11:35:30 +0100 Subject: [PATCH] Update ReCaptcha note + check --- src/Jackett/Content/custom.js | 3 +-- src/Jackett/Content/index.html | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Jackett/Content/custom.js b/src/Jackett/Content/custom.js index 0dbcf390b..eff65bf43 100644 --- a/src/Jackett/Content/custom.js +++ b/src/Jackett/Content/custom.js @@ -24,8 +24,7 @@ $.fn.focusWithoutScrolling = function () { $(document).ready(function () { $.ajaxSetup({ cache: false }); - window.jackettIsLocal = window.location.hostname === 'localhost' || - window.location.hostname === '127.0.0.1'; + window.jackettIsLocal = window.location.hostname === '127.0.0.1'; bindUIButtons(); loadJackettSettings(); diff --git a/src/Jackett/Content/index.html b/src/Jackett/Content/index.html index b4208e6b9..1149bb184 100644 --- a/src/Jackett/Content/index.html +++ b/src/Jackett/Content/index.html @@ -1,4 +1,4 @@ - + @@ -147,7 +147,7 @@