Browse Source

Fix citations not getting cleared correctly

master
Fen Dweller 4 years ago
parent
commit
77b0cd64af
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      macrovision.js

+ 3
- 0
macrovision.js View File

@@ -428,6 +428,7 @@ const unitChoices = {
"kilometers^2", "kilometers^2",
], ],
"customary": [ "customary": [
"inches^2",
"feet^2", "feet^2",
"acres", "acres",
"miles^2" "miles^2"
@@ -2310,6 +2311,8 @@ function displayAttribution(file) {


} }


citationHolder.innerHTML = "";
if (citations === [] || citations === undefined) { if (citations === [] || citations === undefined) {


} else { } else {


Loading…
Cancel
Save