diff --git a/www/drive/main.js b/www/drive/main.js index d7996401c..aa12aa8ba 100644 --- a/www/drive/main.js +++ b/www/drive/main.js @@ -127,12 +127,12 @@ define([ }; var setSearchCursor = function () { - $input = $iframe.find('#searchInput'); + var $input = $iframe.find('#searchInput'); localStorage.searchCursor = $input[0].selectionStart; }; var getSearchCursor = function () { return localStorage.searchCursor || 0; - } + }; var now = function () {