Hotfix palantir
parent
118336e861
commit
fd61d537d2
|
@ -250,7 +250,7 @@ interface Window {
|
|||
readonly hopscotch: any;
|
||||
LichessSpeech?: LichessSpeech;
|
||||
readonly LichessEditor?: (element: HTMLElement, config: Editor.Config) => LichessEditor;
|
||||
readonly palantir?: {
|
||||
readonly Palantir?: {
|
||||
palantir(opts: PalantirOpts): Palantir;
|
||||
};
|
||||
LichessChat: (element: Element, opts: any) => any;
|
||||
|
|
|
@ -37,7 +37,7 @@ function renderPalantir(ctrl: Ctrl) {
|
|||
p.loaded = true;
|
||||
lichess.loadScript('javascripts/vendor/peerjs.min.js').then(() => {
|
||||
lichess.loadModule('palantir').then(() => {
|
||||
p.instance = window.palantir!.palantir({
|
||||
p.instance = window.Palantir!.palantir({
|
||||
uid: ctrl.data.userId!,
|
||||
redraw: ctrl.redraw,
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue