Cleanup 'Too many devices' dialog

Closes #263
This commit is contained in:
lilia 2015-07-13 16:57:45 -07:00
parent 7b6cb27f7f
commit 815b79dc64
5 changed files with 12 additions and 9 deletions

View file

@ -85,6 +85,9 @@
if (e.name === 'HTTPError' && e.code == 411) {
$('.progress-dialog').hide();
$('.error-dialog').show();
$('.error-dialog .ok').click(function(e) {
chrome.runtime.reload();
});
}
else {
throw e;