mirror of
https://github.com/greenshot/greenshot
synced 2025-08-23 06:36:20 -07:00
OAuth for Imgur - Small fix to the title, and included a version check.
This commit is contained in:
parent
00753ec6f8
commit
ab45ff741d
2 changed files with 3 additions and 2 deletions
|
@ -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>
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue