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
{{ message }}
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: js/Detector.js
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -26,12 +26,13 @@ Detector = {
26
26
element.style.zIndex='500000';
27
27
element.style.position='absolute';
28
28
element.style.pointerEvents='all';
29
+
element.style.textTransform='capitalize';
29
30
30
31
if(!this.webgl){
31
32
32
33
element.innerHTML=[
33
-
'Either your graphics card or your browser do not support WebGL. Try <a href="http://www.google.com/chrome/" style="color:#ffffff">Google Chrome</a><br>',
34
-
'or <a href="http://www.khronos.org/webgl/wiki_1_15/index.php/Getting_a_WebGL_Implementation" style="color:#ffffff">click here</a> for a list of WebGL compatible browsers.'
34
+
'Either your graphics card or your browser do not support WebGL. Try <a href="http://www.google.com/chrome/" style="color:#ffffff; text-decoration:underline; text-transform:capitalize">Google Chrome</a><br>',
35
+
'or <a href="http://www.khronos.org/webgl/wiki_1_15/index.php/Getting_a_WebGL_Implementation" style="color:#ffffff; text-decoration:underline; text-transform:none">view a list</a> of WebGL compatible browsers.'
0 commit comments