forked from MapComplete/MapComplete
Refactoring: re-enable caching
This commit is contained in:
parent
59544ec073
commit
476423f9d1
5 changed files with 19 additions and 3 deletions
|
@ -181,7 +181,7 @@ export default abstract class BaseUIElement {
|
|||
// @ts-ignore
|
||||
e.consumed = true
|
||||
}
|
||||
el.classList.add("pointer-events-none", "cursor-pointer")
|
||||
el.classList.add("cursor-pointer")
|
||||
}
|
||||
|
||||
return el
|
||||
|
|
|
@ -57,6 +57,11 @@ export abstract class Validator {
|
|||
return true
|
||||
}
|
||||
|
||||
/**
|
||||
* Reformats for the human
|
||||
* @param s
|
||||
* @param country
|
||||
*/
|
||||
public reformat(s: string, country?: () => string): string {
|
||||
return s
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue