Skip to content

Commit 6be9eca

Browse files
committed
support "default" in the code, badly.
1 parent 3cb5e7a commit 6be9eca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/cyclemaps.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export class MainControl implements IControl {
115115
Cookies.set('style', style, cookieAttributes);
116116
}
117117

118-
return styleRoot + (style != null && style != 'default' ? style : 'style.json');
118+
return styleRoot + (style != null && style != 'style-default.json' ? style : 'style.json');
119119
}
120120

121121
getButtonsQuery() {

0 commit comments

Comments
 (0)