App windows cannot be refreshed

This commit is contained in:
lilia 2015-05-14 11:44:31 -07:00
parent 76e170686a
commit b8c5bc293c

View file

@ -50,14 +50,6 @@
}
});
messageReceiver.connect();
// refresh views
var views = extension.windows.getViews();
for (var i = 0; i < views.length; ++i) {
if (views[i] !== window) {
views[i].location.reload();
}
}
}
function onMessageReceived(pushMessage) {