Skip to content

Commit

Permalink
bump version to 1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
EliasKau committed Jan 11, 2023
1 parent 1f1841d commit 9e49910
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 1.0.6: 2023-01-11
## Fixed
* Firefox reloading the page when submitting the form.

### 1.0.5: 2023-01-05
## Fixed
* Search getting stuck if using checkboxes and select fields at the same time.
Expand Down
4 changes: 2 additions & 2 deletions air-search.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Author URI: https://dude.fi
* License: GPL2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Version: 1.0.5
* Version: 1.0.6
*
* @package air-search
*/
Expand All @@ -16,7 +16,7 @@

defined( 'ABSPATH' ) || exit;

const PLUGIN_VERSION = '1.0.5';
const PLUGIN_VERSION = '1.0.6';

include plugin_dir_path( __FILE__ ) . '/query.php';
include plugin_dir_path( __FILE__ ) . '/helpers.php';
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"plugin"
],
"license": "GPL-3.0+",
"version": "1.0.5",
"version": "1.0.6",
"authors": [
{
"name": "Digitoimisto Dude Oy",
Expand Down
2 changes: 1 addition & 1 deletion scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ if (searchForm) {

function formSubmitEvent() {
// form.submit() function doesn't trigger 'submit' event so we have to make one.
searchForm.dispatchEvent(new CustomEvent('submit'));
searchForm.dispatchEvent(new CustomEvent('submit', { cancelable: true }));
}

async function callApi(searchText, location, args) {
Expand Down

0 comments on commit 9e49910

Please sign in to comment.