mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-15 04:00:34 +08:00
Removed "window."
This commit is contained in:
parent
57360754b4
commit
dc69a03bfa
@ -122,7 +122,7 @@ define(function(require){
|
|||||||
*/
|
*/
|
||||||
var onResult = function(node, query, result, resultCount) {
|
var onResult = function(node, query, result, resultCount) {
|
||||||
if (resultCount == 1) {
|
if (resultCount == 1) {
|
||||||
window.requestAnimationFrame(function() {
|
requestAnimationFrame(function() {
|
||||||
$('.typeahead-list > li:nth-child(2)').addClass('active');
|
$('.typeahead-list > li:nth-child(2)').addClass('active');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user