From dc69a03bfa0243e95a765b5a4f0147e6e93ac172 Mon Sep 17 00:00:00 2001 From: Safia Abdalla Date: Mon, 21 Dec 2015 12:18:15 -0600 Subject: [PATCH] Removed "window." --- notebook/static/notebook/js/commandpalette.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebook/static/notebook/js/commandpalette.js b/notebook/static/notebook/js/commandpalette.js index d85bfc71b..b97ce10c7 100644 --- a/notebook/static/notebook/js/commandpalette.js +++ b/notebook/static/notebook/js/commandpalette.js @@ -122,7 +122,7 @@ define(function(require){ */ var onResult = function(node, query, result, resultCount) { if (resultCount == 1) { - window.requestAnimationFrame(function() { + requestAnimationFrame(function() { $('.typeahead-list > li:nth-child(2)').addClass('active'); }); }