File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 121121 < / div>
122122
123123 < div class = " loading-message" >
124- < p> Loading a < scraps- grawlix > & # % ! < / scraps- grawlix > - ton of JavaScript& hellip;< / p>
124+ < p> Loading a < scraps- bleep > $# ! % < / scraps- bleep > - ton of JavaScript& hellip;< / p>
125125 < p>< small> You may need to disable adblocking extensions to load Sentry.< / small>< / p>
126126 < script>
127127 function randomFrom (arr ) {
130130 function randomBetween (min , max ) {
131131 return Math .floor (Math .random () * (max - min - 1 ) + min);
132132 }
133- customElements .define (' scraps-grawlix ' , class extends HTMLElement {
133+ customElements .define (' scraps-bleep ' , class extends HTMLElement {
134134 constructor () {
135135 super ();
136136 this .shapes = ' ◆●▴▪×' .split (' ' );
157157 })
158158 }
159159 connectedCallback () {
160- this .shuffle ();
160+ if (! window .matchMedia (' (prefers-reduced-motion: reduce)' ).matches ) {
161+ this .shuffle ();
162+ }
161163 }
162164 disconnectedCallback () {
163165 cancelAnimationFrame (this .raf );
You can’t perform that action at this time.
0 commit comments