Skip to content
This repository has been archived by the owner on Jul 17, 2022. It is now read-only.

Commit

Permalink
index.php: Typo in parameters object
Browse files Browse the repository at this point in the history
  • Loading branch information
antarasi authored Jun 14, 2016
1 parent d9dcaec commit acf0019
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
jQuery(".mySearch").ajaxlivesearch({
loaded_at: <?php echo $time; ?>,
token: <?php echo "'" . $token . "'"; ?>,
maxInput: <?php echo $maxInputLength; ?>,
max_input: <?php echo $maxInputLength; ?>,
onResultClick: function(e, data) {
// get the index 1 (second column) value
var selectedOne = jQuery(data.selected).find('td').eq('1').text();
Expand All @@ -79,4 +79,4 @@
</script>

</body>
</html>
</html>

0 comments on commit acf0019

Please sign in to comment.