Skip to content

Commit 57eb8ef

Browse files
authored
Merge pull request #2617 from tdelmas/patch-1
Link to https://get.webgl.org instead of the unsafe http version
2 parents 7acca0a + 3eb8c01 commit 57eb8ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/show_no_webgl_msg.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ module.exports = function showWebGlMsg(scene) {
3131
};
3232

3333
var div = document.createElement('div');
34-
div.textContent = 'Webgl is not supported by your browser - visit http://get.webgl.org for more info';
34+
div.textContent = 'Webgl is not supported by your browser - visit https://get.webgl.org for more info';
3535
div.style.cursor = 'pointer';
3636
div.style.fontSize = '24px';
3737
div.style.color = Color.defaults[0];
3838

3939
scene.container.appendChild(div);
4040
scene.container.style.background = '#FFFFFF';
4141
scene.container.onclick = function() {
42-
window.open('http://get.webgl.org');
42+
window.open('https://get.webgl.org');
4343
};
4444

4545
// return before setting up camera and onrender methods

0 commit comments

Comments
 (0)