You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix dino runner initialization to not happen in subframes
+ introducing isSubFrame variable for better conditionals handling.
+ updateIconClass refactored to:
* not to have game initialization under implicit condition
* do not use additional undocumented property on classList object
* decide which icon element to modify based on isSubFrame flag
* keep only base 'icon' class and one that were passed in argument
+ updateIconClass call removed from jseval attribute in templates,
to callback that run on document loads and updates
+ game initialization moved to callback that run on document loads
and updates under proper conditions
+ neterror class is permanently added to body
+ `.offline button` removed since `offline` classname is used for
gaming styling only
Bug: 1223340
Change-Id: Id34e21d9b6129e7c4da11d95f4c0b5b79eb58939
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2987982
Reviewed-by: Edward Jung (EMEA) <edwardjung@chromium.org>
Reviewed-by: Rebekah Potter <rbpotter@chromium.org>
Commit-Queue: Edward Jung (EMEA) <edwardjung@chromium.org>
Cr-Commit-Position: refs/heads/master@{#897867}
0 commit comments