isobit-ui 0.1.99 → 0.1.101
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 +9 -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.100
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -6636,7 +6636,12 @@ 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) {
|
|
6644
|
+
e.preventDefault();
|
|
6640
6645
|
if (callback) callback();
|
|
6641
6646
|
me.open(e);
|
|
6642
6647
|
};
|
|
@@ -6644,8 +6649,9 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
6644
6649
|
for (var i = 0; i < a.length; i++) {
|
|
6645
6650
|
if (a[i].attributes.href) {
|
|
6646
6651
|
a[i].onclick = f;
|
|
6647
|
-
|
|
6648
|
-
|
|
6652
|
+
} else a[i].onclick = f0;
|
|
6653
|
+
|
|
6654
|
+
a[i].classList ? a[i].classList.add('_') : a[i].className = '_';
|
|
6649
6655
|
}
|
|
6650
6656
|
}
|
|
6651
6657
|
},
|