fix(core): update

This commit is contained in:
Philipp Kunz 2023-04-11 11:46:53 +02:00
parent 7d01fe89bc
commit c2c4fc96a5
2 changed files with 1 additions and 4 deletions

View File

@ -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'
} }

View File

@ -51,9 +51,6 @@ export class SmartRouter {
popStateEventArg.preventDefault(); popStateEventArg.preventDefault();
this._handleRouteState(); this._handleRouteState();
}); });
window.addEventListener('DOMContentLoaded', () => {
this._handleRouteState();
});
} }
/** /**