@bbn/bbn 2.0.197 → 2.0.199
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bbn.js +1 -1
- package/dist/bbn.js.map +1 -1
- package/dist/fn/init.js +2 -1
- package/package.json +1 -1
package/dist/fn/init.js
CHANGED
|
@@ -35,7 +35,7 @@ const onActivity = (e) => {
|
|
|
35
35
|
target.hasAttribute("href") &&
|
|
36
36
|
!target.hasAttribute("target") &&
|
|
37
37
|
!target.classList.contains("bbn-no")) {
|
|
38
|
-
link(target.getAttribute("href"));
|
|
38
|
+
link(target.getAttribute("href"), e);
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
/**
|
|
@@ -105,6 +105,7 @@ export default function init(cfg, force) {
|
|
|
105
105
|
document.addEventListener("focusin", onActivity);
|
|
106
106
|
document.addEventListener("focusout", onActivity);
|
|
107
107
|
window.addEventListener("hashchange", () => {
|
|
108
|
+
debugger;
|
|
108
109
|
bbn.env.hashChanged = new Date().getTime();
|
|
109
110
|
}, false);
|
|
110
111
|
window.addEventListener("resize", () => {
|