diff --git a/manifest.json b/manifest.json index ceaf89f..ab59594 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name": "Dicentra", - "version": "0.8.0", + "version": "0.8.1", "description": "enhances WebKit changeset page.", "manifest_version": 2, diff --git a/version.js b/version.js index 9586be1..e748bda 100644 --- a/version.js +++ b/version.js @@ -170,12 +170,8 @@ (function () { httpget(getConfigURL(location.href)) .then(getWebKitVersion) - .then(function (version) { - updatePage(version); - }) - .catch(function(error) { - console.error(error); - }) + .then(updatePage) + .catch(console.error) }()); }());