fix(WIP): bootstrap4 잔여 코드 수정 중

- 이상하게도 ingame에서 bootstrap이 충돌 중
This commit is contained in:
2021-12-11 04:45:39 +09:00
parent 2880a37595
commit ef6cb065d5
21 changed files with 306 additions and 307 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
import $ from "jquery";
import { Tooltip } from "bootstrap";
import { Tooltip } from "bootstrap";
import { trim } from "lodash";
/**
@@ -170,7 +170,7 @@ export function initTooltip($obj?: JQuery<HTMLElement>): void {
}
const template = `<div class="tooltip ${tooltipClassText}" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>`;
const oTooltip = new Tooltip(this, {
const oTooltip = Tooltip.getOrCreateInstance(this, {
title: function(){
return trim(this.querySelector('.tooltiptext')?.innerHTML);
},