fix #150: favicon download

This commit is contained in:
Antelle 2016-03-05 21:22:00 +03:00
parent 910f6f80f0
commit 720f2cb612
2 changed files with 3 additions and 2 deletions

View File

@ -82,7 +82,7 @@ var IconSelectView = Backbone.View.extend({
return null;
}
var url = this.model.url.replace(/([^\/:]\/.*)?$/, function(match) { return (match && match[0]) + '/favicon.ico'; });
if (url.indexOf('://') >= 0) {
if (url.indexOf('://') < 0) {
url = 'http://' + url;
}
if (useService) {

View File

@ -19,8 +19,9 @@ Storage providers, usability improvements
`+` warning for kdb files
`+` hide empty fields
`+` overall spacing increased
`-` fix #88: capslock indicator
`-` fix capslock indicator
`-` fix file settings input behavior
`-` fix favicon download
##### v1.0.4 (2016-02-25)
Workaround for Chrome bug