Permalink
Browse files

fix: Missing radix parameter

  • Loading branch information...
katrin-freihofner committed Jun 13, 2017
1 parent d91f9f8 commit 85e62ee487c8579623423889d9b80ef2150e85e1
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/navbar/navbar.js
View
@@ -11,7 +11,6 @@ function clearResults(select) {
}
function createListElement(result, opts) {
console.log(result, opts);
const opt = document.createElement('li');
const link = document.createElement('a');
link.setAttribute('href', result[opts.url]);
@@ -49,7 +48,7 @@ const initData = () => {
const opts = {
title: form.dataset.titleprop || 'title',
url: form.dataset.urlprop || 'url',
maxresults: parseInt(form.dataset.maxresults) || 10,
maxresults: parseInt(form.dataset.maxresults, 10) || 10,
resultskey: form.dataset.resultskey || 'results',
};
el.addEventListener('keyup', debounce(() => {

0 comments on commit 85e62ee

Please sign in to comment.