We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59dd853 commit 27a70fbCopy full SHA for 27a70fb
scripts/e2e/index.html
@@ -26,6 +26,17 @@
26
document.dir = 'ltr';
27
}
28
29
+ window.domCount = function domCount(ele) {
30
+ if(!ele) {
31
+ return 0;
32
+ }
33
+ var count = 1;
34
+ for(var i = 0; i < ele.children.length; i++) {
35
+ count += domCount(ele.children[i]);
36
37
+ return count;
38
39
+
40
if (location.href.indexOf('theme=dark') > -1) {
41
var link = document.getElementById('ionicLink');
42
link.setAttribute('href', link.getAttribute('href').replace('.css', '.dark.css'));
0 commit comments