Skip to content

Commit

Permalink
Gutenberg: Increase URL input change timeout to 2 seconds.
Browse files Browse the repository at this point in the history
This is for people that are typing out the link and might be slow
typers.

See #13.
  • Loading branch information
r-a-y committed Apr 14, 2020
1 parent 59d574e commit 189a179
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion block.js
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@
if ( validateLink( inputValue ) ) {
this.triggerChange();
}
}.bind(this), 1000);
}.bind(this), 2000);
}

onKeyDown(e) {
Expand Down

0 comments on commit 189a179

Please sign in to comment.