Skip to content

Commit c462f50

Browse files
committed
NppExec Manual: reverting to the previous version
1 parent 29efbdb commit c462f50

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/NppExec_Manual/search.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ window.onload = function() {
3333

3434
setTimeout(function() {
3535
helpTopics.focus();
36-
}, 200);
36+
}, 100);
3737
} catch (e) {
3838
/* Handle the DOMException that may be thrown by trying to access cross-origin frames on the `file://` protocol
3939
* See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Property_access_denied
@@ -45,15 +45,15 @@ window.onload = function() {
4545
setTimeout(function() {
4646
window.focus();
4747
helpTopics.focus();
48-
}, 200);
48+
}, 100);
4949
} else {
5050
var docIndex = helpTopics.selectedIndex;
5151
var requestedDoc = (docIndex >= 0) ? helpTopics[docIndex].innerHTML : helpTopics.value;
5252
window.alert('"' + requestedDoc + '" is missing or access is restricted.');
5353

5454
setTimeout(function() {
5555
helpTopics.focus();
56-
}, 200);
56+
}, 100);
5757
}
5858
}
5959
};
@@ -127,7 +127,7 @@ window.onload = function() {
127127
if (parent.frames['content']) {
128128
parent.frames['content'].focus();
129129
}
130-
}, 250);
130+
}, 150);
131131
}
132132
};
133133
helpTopics.addEventListener('keydown', focusContent);

0 commit comments

Comments
 (0)