Skip to content

Commit 73bdf11

Browse files
committed
If redirect data is same as current page url, force reload
1 parent 3939b80 commit 73bdf11

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.gitignore

100644100755
File mode changed.

page-foundation.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ $.ajaxSetup({
2525
if (data.substring(0, 4) === 'http') {
2626
toastr.remove();
2727
toastr.info("Loading page...", '', {timeOut: 0});
28+
if (window.location.href == data) {
29+
location.reload(true);
30+
}
2831
window.location.href = data;
2932
return false;
3033
}

0 commit comments

Comments
 (0)