mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-24 23:37:57 +01:00
Fix typo.
This commit is contained in:
parent
5d93b5bd49
commit
c981276183
@ -1,5 +1,5 @@
|
||||
// Passive event listeners
|
||||
function regiterTouchHandler(jQuery) {
|
||||
function registerTouchHandler(jQuery) {
|
||||
|
||||
jQuery.event.special.touchstart = {
|
||||
setup: function (_, ns, handle) {
|
||||
@ -12,4 +12,4 @@ function regiterTouchHandler(jQuery) {
|
||||
}
|
||||
};
|
||||
}
|
||||
export default regiterTouchHandler;
|
||||
export default registerTouchHandler;
|
@ -21,9 +21,9 @@ import { Point } from '@wisemapping/web2d';
|
||||
// https://stackoverflow.com/questions/60357083/does-not-use-passive-listeners-to-improve-scrolling-performance-lighthouse-repo
|
||||
// https://web.dev/uses-passive-event-listeners/?utm_source=lighthouse&utm_medium=lr
|
||||
// eslint-disable-next-line import/extensions
|
||||
import regiterTouchHandler from '../../../../libraries/jquery.touchevent';
|
||||
import registerTouchHandler from '../../../../libraries/jquery.touchevent';
|
||||
|
||||
regiterTouchHandler($);
|
||||
registerTouchHandler($);
|
||||
|
||||
class ScreenManager {
|
||||
private _divContainer: JQuery;
|
||||
|
Loading…
Reference in New Issue
Block a user