Skip to content

Commit

Permalink
Handling #22
Browse files Browse the repository at this point in the history
  • Loading branch information
KeziahMoselle committed Sep 30, 2018
1 parent cb7a5d8 commit 5e69dbf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gelbooru-client",
"version": "0.10.1",
"version": "0.10.2",
"description": "You already know what it is.",
"main": "src/main.js",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<div class="user-view">
<div class="background"></div>
<span class="white-text name">Gel<b>booru</b> Client</span>
<span class="white-text email">v0.10.1</span>
<span class="white-text email">v0.10.2</span>
</div>
</li>
<li><a class="subheader">Pages</a></li>
Expand Down
3 changes: 3 additions & 0 deletions src/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,9 @@ function getResults (url) {
M.toast({ html: 'Any results was found.' })
}
})
.catch(() => {
M.toast({ html: 'Search error: API disabled due to abuse.' })
})
}

/**
Expand Down

0 comments on commit 5e69dbf

Please sign in to comment.