This commit is contained in:
Alexey Skobkin 2014-11-26 23:07:12 +04:00
parent 699fd726c4
commit b607c04045
2 changed files with 25 additions and 19 deletions

View file

@ -105,6 +105,8 @@ function pp_restore_options() {
// Loading options // Loading options
chrome.storage.sync.get('options', function(options) { chrome.storage.sync.get('options', function(options) {
try {
// Setting options in DOM // Setting options in DOM
$.each(options.options, function(key, data) { $.each(options.options, function(key, data) {
switch (data.type) { switch (data.type) {
@ -123,6 +125,10 @@ function pp_restore_options() {
break; break;
} }
}); });
} catch (ex) {
console.error('Error while loading extension options: %O', ex);
}
// Showing version // Showing version
$('#pp-version').html('Point+ ' + getVersion() $('#pp-version').html('Point+ ' + getVersion()

View file

@ -1,7 +1,7 @@
{ {
"manifest_version": 2, "manifest_version": 2,
"name": "Point+", "name": "Point+",
"version": "1.17.2", "version": "1.17.3",
"default_locale": "ru", "default_locale": "ru",
"author": "__MSG_ext_author__", "author": "__MSG_ext_author__",
"homepage_url": "https://bitbucket.org/skobkin/chrome_point_plus", "homepage_url": "https://bitbucket.org/skobkin/chrome_point_plus",