isobit-ui 0.1.100 → 0.1.102
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/index.js +8 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* isobit-ui v0.1.
|
|
2
|
+
* isobit-ui v0.1.101
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -6636,6 +6636,10 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
6636
6636
|
//var a=el.querySelectorAll('a:not(._),ion-item:not(._)');
|
|
6637
6637
|
var a = el.querySelectorAll('a:not(._),ion-item:not(._)'); //console.log(a)
|
|
6638
6638
|
|
|
6639
|
+
var f0 = function f0(e) {
|
|
6640
|
+
e.preventDefault();
|
|
6641
|
+
};
|
|
6642
|
+
|
|
6639
6643
|
var f = function f(e) {
|
|
6640
6644
|
e.preventDefault();
|
|
6641
6645
|
if (callback) callback();
|
|
@@ -6645,8 +6649,9 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
6645
6649
|
for (var i = 0; i < a.length; i++) {
|
|
6646
6650
|
if (a[i].attributes.href) {
|
|
6647
6651
|
a[i].onclick = f;
|
|
6648
|
-
|
|
6649
|
-
|
|
6652
|
+
} else a[i].onclick = f0;
|
|
6653
|
+
|
|
6654
|
+
a[i].classList ? a[i].classList.add('_') : a[i].className = '_';
|
|
6650
6655
|
}
|
|
6651
6656
|
}
|
|
6652
6657
|
},
|