Only init websocket if local API

This commit is contained in:
Lukas Martinelli
2017-01-01 15:12:46 +01:00
parent ce39ae723c
commit fa38667125
3 changed files with 34 additions and 34 deletions
+2 -2
View File
@@ -69,8 +69,8 @@ export class StyleStore {
this.mapStyles = loadStoredStyles()
}
supported(cb) {
cb(window.localStorage !== undefined)
init(cb) {
cb(null)
}
// Delete entire style history