Commit 20f8737
Move openURLKey to after event markers are added
getTBAQuery is asynchronous since it accesses TBA, so we have to
open the url requested key (?key=eventCode) in the callback after all
the events are added, instead of after the request function is called.
If this is not done, the event markers probably won't exist when
openURLKey is called, so an event marker specified in the url will
not be opened, it will just be ignored.1 parent ede0393 commit 20f8737
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| 211 | + | |
| 212 | + | |
211 | 213 | | |
212 | 214 | | |
213 | 215 | | |
214 | | - | |
215 | | - | |
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
| |||
0 commit comments