We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64fff1e commit 71f1c1eCopy full SHA for 71f1c1e
1 file changed
index.html
@@ -151,9 +151,12 @@ <h1>Lithium Ebook Highlighted Text Extractor</h1>
151
}
152
153
function selectField(fieldId) {
154
- let field = document.getElementById(fieldId);
155
- field.select();
156
- field.setSelectionRange(0, 999999); /* For mobile devices */
+ //desktop only
+ if (typeof window.orientation == 'undefined') {
+ let field = document.getElementById(fieldId);
157
+ field.select();
158
+ field.setSelectionRange(0, 999999);
159
+ }
160
161
162
function addColorDropdownItem(changeColor, colorItem) {
0 commit comments