added event for config change

pull/3094/head
LianaHus 6 years ago
parent df2eead3d5
commit 7f0b01aa21
  1. 1
      src/config.js

@ -28,6 +28,7 @@ function Config (storage) {
this.items[key] = content
try {
storage.set(CONFIG_FILE, JSON.stringify(this.items))
event.emit(key+'_changed', content)
} catch (exception) {
}
}

Loading…
Cancel
Save