diff options
| author | Hsieh Chin Fan <pham@topo.tw> | 2024-10-01 21:56:23 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <pham@topo.tw> | 2024-10-01 21:56:23 +0800 |
| commit | 1cf263317d2f6509b197de78ac6d45f68c7149cd (patch) | |
| tree | 7a6d29c94124affd59d73c893e720fb9fa461def /src | |
| parent | ede2f1039b0e5d3de6ef47652c9f89e3fa8e8dd4 (diff) | |
fix: redundant content for modal
Diffstat (limited to 'src')
| -rw-r--r-- | src/MenuItem.mjs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/MenuItem.mjs b/src/MenuItem.mjs index 8b812b1..d350b45 100644 --- a/src/MenuItem.mjs +++ b/src/MenuItem.mjs | |||
| @@ -162,6 +162,7 @@ export const renderResults = ({ modal, modalContent }, map) => | |||
| 162 | document.querySelector('.plainmodal-overlay-force').style.position = | 162 | document.querySelector('.plainmodal-overlay-force').style.position = |
| 163 | 'relative'; | 163 | 'relative'; |
| 164 | 164 | ||
| 165 | modalContent.innerHTML = ''; | ||
| 165 | const printDetails = result => { | 166 | const printDetails = result => { |
| 166 | const funcBody = result.func.toString(); | 167 | const funcBody = result.func.toString(); |
| 167 | const loc = funcBody.split('\n').length; | 168 | const loc = funcBody.split('\n').length; |