Skip to content

Commit 5a37867

Browse files
ibelemanssiko
authored andcommitted
fix spec_total and fetch url issue
1 parent 21c94d8 commit 5a37867

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

webnn-status.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ sup {
476476
let opsFramework = document.querySelector('#ops_framework');
477477

478478
let jsonPath = "../assets/json/webnn_status.json";
479-
if(location.hostname.toLowerCase('webmachinelearning.github.io') >-1)
479+
if(location.hostname.toLowerCase().indexOf('webmachinelearning.github.io') >-1)
480480
{
481481
jsonPath = "https://webmachinelearning.github.io/assets/json/webnn_status.json";
482482
}

0 commit comments

Comments
 (0)