Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

Commit

Permalink
Update FocusWebViewClient.java
Browse files Browse the repository at this point in the history
  • Loading branch information
niftylettuce authored and colintheshots committed Jun 28, 2019
1 parent ae6de3c commit e9f5c60
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public void onLoadResource(WebView view, String url) {
// Add an onLoad() listener so that we run the cleanup script every time
// a <link>'d css stylesheet is loaded:
"var links = document.getElementsByTagName('link');" +
"for (i = 0; i < links.length; i++) {" +
"for (let i = 0; i < links.length; i++) {" +
" link = links[i];" +
" if (link.rel == 'stylesheet') {" +
" link.addEventListener('load', cleanupVisited, false);" +
Expand Down

0 comments on commit e9f5c60

Please sign in to comment.