2 Commits

Author SHA1 Message Date
1264a11140 1.0.15 2023-04-11 11:46:53 +02:00
c2c4fc96a5 fix(core): update 2023-04-11 11:46:53 +02:00
3 changed files with 2 additions and 5 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@pushrocks/smartrouter", "name": "@pushrocks/smartrouter",
"version": "1.0.14", "version": "1.0.15",
"private": false, "private": false,
"description": "a router for routing on websites", "description": "a router for routing on websites",
"main": "dist_ts/index.js", "main": "dist_ts/index.js",

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();
});
} }
/** /**