mirror of
https://github.com/arfct/itty-bitty.git
synced 2026-03-11 08:54:33 +00:00
Reload after compressing site
This commit is contained in:
parent
be3c079a45
commit
aa717509e0
1 changed files with 2 additions and 0 deletions
|
|
@ -109,6 +109,8 @@
|
|||
bitty.compressDataURL(fragment, function(compressedFragment) {
|
||||
console.log("Compressing long url", fragment.length, compressedFragment.length)
|
||||
window.location.hash = window.location.hash.replace(fragment, compressedFragment);
|
||||
window.location.reload();
|
||||
console.log("Reloading")
|
||||
})
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue