mirror of
https://github.com/thelounge/thelounge
synced 2024-12-18 08:23:09 +00:00
10 lines
234 B
JavaScript
10 lines
234 B
JavaScript
|
"use strict";
|
||
|
|
||
|
// This is a thin wrapper around `window.location`, in order to contain the
|
||
|
// side-effects. Do not add logic to it as it cannot be tested, only mocked.
|
||
|
module.exports = {
|
||
|
reload() {
|
||
|
window.location.reload();
|
||
|
},
|
||
|
};
|