mirror of
https://github.com/discourse/discourse.git
synced 2025-09-10 21:01:33 +08:00
DEV: defines a constant for INPUT_DELAY (#9169)
This commit is contained in:
parent
40d7686234
commit
4e0b2ae294
19 changed files with 41 additions and 22 deletions
|
@ -10,6 +10,7 @@ import loadScript from "discourse/lib/load-script";
|
|||
import computed, { observes } from "discourse-common/utils/decorators";
|
||||
import { cookAsync } from "discourse/lib/text";
|
||||
import discourseDebounce from "discourse/lib/debounce";
|
||||
import { INPUT_DELAY } from "discourse-common/config/environment";
|
||||
|
||||
export default Component.extend({
|
||||
timeFormat: "HH:mm:ss",
|
||||
|
@ -66,7 +67,7 @@ export default Component.extend({
|
|||
);
|
||||
});
|
||||
}
|
||||
}, 250),
|
||||
}, INPUT_DELAY),
|
||||
|
||||
@computed("date", "toDate", "toTime")
|
||||
isRange(date, toDate, toTime) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue