@bbn/bbn 2.0.112 → 2.0.113
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 -6
- package/package.json +1 -1
package/dist/fn/init.js
CHANGED
|
@@ -3,7 +3,6 @@ import each from './loop/each.js';
|
|
|
3
3
|
import extend from './object/extend.js';
|
|
4
4
|
import addColors from './style/addColors.js';
|
|
5
5
|
import link from './ajax/link.js';
|
|
6
|
-
import submit from './form/submit.js';
|
|
7
6
|
import resize from './style/resize.js';
|
|
8
7
|
import isMobile from './browser/isMobile.js';
|
|
9
8
|
import isTabletDevice from './browser/isTabletDevice.js';
|
|
@@ -104,11 +103,8 @@ export default function init(cfg, force) {
|
|
|
104
103
|
});
|
|
105
104
|
document.addEventListener("click", onActivity);
|
|
106
105
|
document.addEventListener("keydown", onActivity);
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
submit(ele, e);
|
|
110
|
-
});
|
|
111
|
-
});
|
|
106
|
+
document.addEventListener("focusin", onActivity);
|
|
107
|
+
document.addEventListener("focusout", onActivity);
|
|
112
108
|
window.addEventListener("hashchange", () => {
|
|
113
109
|
bbn.env.hashChanged = new Date().getTime();
|
|
114
110
|
}, false);
|