Search in one click

pull/3221/head
Victor Baranov 4 years ago
parent e3810852af
commit c786b24e70
  1. 2
      apps/block_scout_web/assets/js/lib/awesomplete-util.js

@ -147,6 +147,8 @@ window.AwesompleteUtil = (function () {
var awe = this var awe = this
awe.utilprops.changed = true // yes, user made a change awe.utilprops.changed = true // yes, user made a change
awe.utilprops.selected = ev.text // Suggestion object awe.utilprops.selected = ev.text // Suggestion object
const address = ev.text.split(/<p>/)[0]
window.open(`/search?q=${address}`, '_self')
} }
// check if the object is empty {} object // check if the object is empty {} object

Loading…
Cancel
Save