Updating from Style Manager failure

https://forum.userstyles.org/discussion/49688/chrome-my-userstyle-wont-get-updated
https://github.com/JasonBarnabe/stylish-chrome/issues/172

This is sufficient to make updates work again, but there are underlying problems.
This commit is contained in:
hideheader 2016-05-19 16:53:45 -04:00
parent 76dd91930d
commit 3f46c60135

View File

@ -360,7 +360,7 @@ function doUpdate(event) {
// updating the UI will be handled by the general update listener // updating the UI will be handled by the general update listener
lastUpdatedStyleId = updatedCode.id; lastUpdatedStyleId = updatedCode.id;
chrome.runtime.sendMessage(updatedCode); chrome.runtime.sendMessage(updatedCode, function () {});
} }
function codeIsEqual(a, b) { function codeIsEqual(a, b) {