mirror of
https://github.com/maputnik/editor.git
synced 2026-08-02 11:17:26 +00:00
Only init websocket if local API
This commit is contained in:
@@ -69,8 +69,8 @@ export class StyleStore {
|
||||
this.mapStyles = loadStoredStyles()
|
||||
}
|
||||
|
||||
supported(cb) {
|
||||
cb(window.localStorage !== undefined)
|
||||
init(cb) {
|
||||
cb(null)
|
||||
}
|
||||
|
||||
// Delete entire style history
|
||||
|
||||
Reference in New Issue
Block a user