Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit 7273fce

Browse files
author
Michael Chang
committed
+ detector copy changes
1 parent 21c38cd commit 7273fce

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

js/Detector.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@ Detector = {
2626
element.style.zIndex = '500000';
2727
element.style.position = 'absolute';
2828
element.style.pointerEvents = 'all';
29+
element.style.textTransform = 'capitalize';
2930

3031
if ( ! this.webgl ) {
3132

3233
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.'
3536
].join( '\n' );
3637

3738
}

0 commit comments

Comments
 (0)