fix(core): update
This commit is contained in:
parent
7d01fe89bc
commit
c2c4fc96a5
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@pushrocks/smartrouter',
|
name: '@pushrocks/smartrouter',
|
||||||
version: '1.0.14',
|
version: '1.0.15',
|
||||||
description: 'a router for routing on websites'
|
description: 'a router for routing on websites'
|
||||||
}
|
}
|
||||||
|
@ -51,9 +51,6 @@ export class SmartRouter {
|
|||||||
popStateEventArg.preventDefault();
|
popStateEventArg.preventDefault();
|
||||||
this._handleRouteState();
|
this._handleRouteState();
|
||||||
});
|
});
|
||||||
window.addEventListener('DOMContentLoaded', () => {
|
|
||||||
this._handleRouteState();
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user