Skip to content

Commit f6e9d39

Browse files
committed
Fix JSRoot.core.js - hpainter setting
1 parent ef2d7da commit f6e9d39

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

scripts/JSRoot.core.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -332,9 +332,7 @@ if ((typeof globalThis !== 'undefined') && !globalThis.JSROOT) {
332332

333333
globalThis.JSROOT._ = arr[0].internals;
334334

335-
getHPainter = arr[2].getHPainter;
336-
337-
globalThis.JSROOT.hpainter = getHPainter();
335+
globalThis.JSROOT.hpainter = arr[2].getHPainter();
338336
});
339337

340338
sync_promises.push(pr);

0 commit comments

Comments
 (0)