Skip to content

Commit

Permalink
fixes Reload all tabs #16
Browse files Browse the repository at this point in the history
  • Loading branch information
ritwickdey committed May 18, 2018
1 parent 8460ef6 commit 815a27c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reload.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
if (!isActive) return;
const currentUrl = window.location.protocol + '//' + window.location.host + window.location.pathname;
if (msg.data == 'reload' || msg.data == 'refreshcss') {
if (data.proxySetup === false || (data.proxySetup === true && currentUrl.startsWith(data.actualUrl))) {
if (data.proxySetup === true || (data.proxySetup === false && currentUrl.startsWith(data.actualUrl))) {
window.location.reload();
}
}
Expand Down

0 comments on commit 815a27c

Please sign in to comment.