Skip to content

Commit

Permalink
fix(url-sync): make input not to lose focus
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandre Stanislawski committed Sep 29, 2015
1 parent 35825df commit 63488d3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions widgets/url-sync/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ var AlgoliaSearchHelper = require('algoliasearch-helper').AlgoliaSearchHelper;

var isEqual = require('lodash/lang/isEqual');
var merge = require('lodash/object/merge');
var forEach = require('lodash/collection/forEach');

function timerMaker(t0) {
var t = t0;
Expand Down Expand Up @@ -110,10 +109,6 @@ class URLSync {

if (isEqual(fullHelperState, fullState)) return;

forEach(window.document.querySelectorAll('input'), function(i) {
i.blur();
});

helper.setState(fullState).search();
});
}
Expand Down

0 comments on commit 63488d3

Please sign in to comment.