Lines Matching +full:i +full:- +full:mobile
28 … if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
29 sup = 'mobile';
34 // Process all code and file blocks - wrap the <pre> element directly like copy2clipboard does
45 editBtn.classList.add('codeblockedit-btn');
59 btnWrapper.classList.add('codeblockedit-wrapper', sup);
63 btnWrapper.classList.add('codeblockedit-wrapper', sup);
70 var marginTop = window.getComputedStyle(preElem)['margin-top'];
72 btnWrapper.style['margin-top'] = marginTop;
73 preElem.style['margin-top'] = '0';
75 var marginBottom = window.getComputedStyle(preElem)['margin-bottom'];
77 btnWrapper.style['margin-bottom'] = marginBottom;
78 preElem.style['margin-bottom'] = '0';
113 for (var i = hiddenAncestors.length - 1; i >= 0; i--) {
114 var hiddenElem = hiddenAncestors[i];
118 … if (header && /^H[1-6]$/.test(header.tagName) && header.classList.contains('st_closed')) {