Skip to content

Commit

Permalink
Fixed slow click for autocomplete (fix devbridge/jQuery-Autocomplete#811
Browse files Browse the repository at this point in the history
).
  • Loading branch information
Daniel Berthereau authored and Daniel Berthereau committed Sep 27, 2021
1 parent 8d91c12 commit 112a57c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,15 @@
"psr-4": {
"AdvancedSearchTest\\": "test/AdvancedSearchTest/"
}
},
"scripts": {
"post-install-cmd": [
"# Fix https://github.com/devbridge/jQuery-Autocomplete/pull/811",
"@php -r '$f = __DIR__ . \"/asset/vendor/jquery-autocomplete/jquery.autocomplete.min.js\"; file_put_contents($f, str_replace(\",200)\", \",350)\", file_get_contents($f)));'"
],
"post-update-cmd": [
"# Fix https://github.com/devbridge/jQuery-Autocomplete/pull/811",
"@php -r '$f = __DIR__ . \"/asset/vendor/jquery-autocomplete/jquery.autocomplete.min.js\"; file_put_contents($f, str_replace(\",200)\", \",350)\", file_get_contents($f)));'"
]
}
}

0 comments on commit 112a57c

Please sign in to comment.