Fix bopen/bsession.

This commit is contained in:
Florian Mounier
2015-10-08 13:58:56 +02:00
parent 96606d2b0b
commit 834200256c
5 changed files with 10 additions and 5 deletions

View File

@@ -2,7 +2,7 @@ _set_theme_href = (href) ->
document.getElementById('style').setAttribute('href', href)
img = document.createElement('img')
img.onerror = ->
setTimeout (-> butterfly?.resize()), 50
setTimeout (-> butterfly?.resize()), 250
img.src = href;
_theme = localStorage?.getItem('theme')