mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-10 19:22:28 +03:00
improve memory mgmt
This commit is contained in:
@@ -12,7 +12,7 @@ import {
|
||||
removeClass,
|
||||
hasClass,
|
||||
push,
|
||||
runEach,
|
||||
runEachAndClear,
|
||||
insertBefore,
|
||||
attr,
|
||||
keys,
|
||||
@@ -250,5 +250,5 @@ export const createStructureSetupElements = (
|
||||
}
|
||||
};
|
||||
|
||||
return [evaluatedTargetObj, appendElements, runEach.bind(0, destroyFns)];
|
||||
return [evaluatedTargetObj, appendElements, runEachAndClear.bind(0, destroyFns)];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user