diff --git a/chrome_point_plus/js/options.js b/chrome_point_plus/js/options.js index 81bd5e9..ecb974a 100644 --- a/chrome_point_plus/js/options.js +++ b/chrome_point_plus/js/options.js @@ -80,6 +80,7 @@ OptionsPage.prototype.restore = function() { break; case 'enum': + case 'plain': input.value = data.value; break; @@ -122,6 +123,11 @@ OptionsPage.prototype.updateOptionFromInput = function(input) { type: 'enum', value: input.value }; + } else { + this._options[key] = { + type: 'plain', + value: input.value + } } };