mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-06-27 00:36:44 +03:00
hasher.changed.* to hasher.*
This commit is contained in:
parent
d536b5eeee
commit
5f21fcc100
3 changed files with 12 additions and 16 deletions
10
dev/bootstrap.js
vendored
10
dev/bootstrap.js
vendored
|
|
@ -56,8 +56,8 @@ export default App => {
|
|||
rl.route.root();
|
||||
setTimeout(() => (Settings.app('inIframe') ? parent : window).location.reload(), 100);
|
||||
},
|
||||
off: () => hasher.changed.active = false,
|
||||
on: () => hasher.changed.active = true,
|
||||
off: () => hasher.active = false,
|
||||
on: () => hasher.active = true,
|
||||
/**
|
||||
* @param {string} sHash
|
||||
* @param {boolean=} silence = false
|
||||
|
|
@ -70,11 +70,11 @@ export default App => {
|
|||
const cmd = replace ? 'replaceHash' : 'setHash';
|
||||
|
||||
if (silence) {
|
||||
hasher.changed.active = false;
|
||||
hasher.active = false;
|
||||
hasher[cmd](hash);
|
||||
hasher.changed.active = true;
|
||||
hasher.active = true;
|
||||
} else {
|
||||
hasher.changed.active = true;
|
||||
hasher.active = true;
|
||||
hasher[cmd](hash);
|
||||
hasher.setHash(hash);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue