Lines 51-56
function autocomplete(inp, nb, left, right) {
Link Here
|
51 |
/* create new div with position relative for class .autocomplete with absolute */ |
51 |
/* create new div with position relative for class .autocomplete with absolute */ |
52 |
var div_relative = document.createElement('div'); |
52 |
var div_relative = document.createElement('div'); |
53 |
$(div_relative).addClass( "autocomplete" ); |
53 |
$(div_relative).addClass( "autocomplete" ); |
|
|
54 |
$(div_relative).css("display", "inline-block"); |
54 |
div_relative.append(inp); |
55 |
div_relative.append(inp); |
55 |
/* input doesn't have an elem after, add it to parent */ |
56 |
/* input doesn't have an elem after, add it to parent */ |
56 |
if (next_elem_inp === null){ |
57 |
if (next_elem_inp === null){ |
57 |
- |
|
|