From ab45ff741dd5d14be158967495f43a426e50ef2b Mon Sep 17 00:00:00 2001 From: Robin Date: Tue, 19 Jun 2018 13:24:07 +0200 Subject: [PATCH] OAuth for Imgur - Small fix to the title, and included a version check. --- _includes/oauth-out-of-bounds.html | 2 +- pages/oauth-imgur.html | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/_includes/oauth-out-of-bounds.html b/_includes/oauth-out-of-bounds.html index 57b58ca87..2e1ab7f5f 100644 --- a/_includes/oauth-out-of-bounds.html +++ b/_includes/oauth-out-of-bounds.html @@ -3,6 +3,6 @@ var searchQuery = window.location.search; if (searchQuery && searchQuery.length >= 1) { var oldTitle = (window.document.title === undefined) ? "" : window.document.title; - window.document.title=oldTitle + searchQuery.substring(1); + window.document.title=oldTitle + "|" + searchQuery.substring(1); } diff --git a/pages/oauth-imgur.html b/pages/oauth-imgur.html index 0f6b00d46..15ff910bf 100644 --- a/pages/oauth-imgur.html +++ b/pages/oauth-imgur.html @@ -1,10 +1,11 @@ --- layout: oauth -title: Greenshot authenticated with Imgur | +title: Greenshot authenticated with Imgur permalink: /oauth/imgur categories: [oauth] comments: [] --- +{% include version-check.html %} {% include oauth-out-of-bounds.html %}

Greenshot should now be authenticated to use Imgur, you can close this window.