Skip to content

Commit

Permalink
Remove split
Browse files Browse the repository at this point in the history
Co-authored-by: Rick Viscomi <[email protected]>
  • Loading branch information
pmeenan and rviscomi authored Dec 5, 2023
1 parent 15cc49f commit ed62a79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/test_result.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const sameOrigin = function(uri1, uri2){
return false;
}
const testUrl = $WPT_TEST_URL;
const currentUrl = document.location.href.split('#')[0];
const currentUrl = document.location.href;
if (sameOrigin(testUrl, currentUrl)) {
return 0; // No change
}
Expand Down

0 comments on commit ed62a79

Please sign in to comment.