OAuth for Imgur - Small fix to the title, and included a version check.

This commit is contained in:
Robin 2018-06-19 13:24:07 +02:00
commit ab45ff741d
2 changed files with 3 additions and 2 deletions

View file

@ -3,6 +3,6 @@ var searchQuery = window.location.search;
if (searchQuery && searchQuery.length >= 1) { if (searchQuery && searchQuery.length >= 1) {
var oldTitle = (window.document.title === undefined) ? "" : window.document.title; var oldTitle = (window.document.title === undefined) ? "" : window.document.title;
window.document.title=oldTitle + searchQuery.substring(1); window.document.title=oldTitle + "|" + searchQuery.substring(1);
} }
</script> </script>

View file

@ -1,10 +1,11 @@
--- ---
layout: oauth layout: oauth
title: Greenshot authenticated with Imgur | title: Greenshot authenticated with Imgur
permalink: /oauth/imgur permalink: /oauth/imgur
categories: [oauth] categories: [oauth]
comments: [] comments: []
--- ---
{% include version-check.html %}
{% include oauth-out-of-bounds.html %} {% include oauth-out-of-bounds.html %}
<p> <p>
Greenshot should now be authenticated to use Imgur, you can close this window. Greenshot should now be authenticated to use Imgur, you can close this window.