From 214883154574bc0036350d93d80fe30d85349220 Mon Sep 17 00:00:00 2001 From: hppeng Date: Sat, 16 Jul 2022 20:06:01 -0700 Subject: [PATCH] Fix display.js bugs, remove unused script imports --- builder/index.html | 2 +- builder/index_full.html | 3 --- js/display.js | 4 ++-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/builder/index.html b/builder/index.html index 308819f..ef49a12 100644 --- a/builder/index.html +++ b/builder/index.html @@ -1,2 +1,2 @@ - WynnBuilder
Join the discord today to suggest new features, submit bug reports, and hangout/talk to devs!
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Level:
Assign: 0
Original: 0
Assign: 0
Original: 0
Assign: 0
Original: 0
Assign: 0
Original: 0
Assign: 0
Original: 0
Active boosts
Earth
Thunder
Water
Fire
Air
Curse (Active)
Concentration (Passive)
Offense
Defense
Overall
melee
poison
Input a weapon to see abilities!

Made by hppeng, ferricles, and reschan with Atlas Inc (JavaScript required to function, nothing works without js)

Hard refresh the page (Ctrl+Shift+R on windows/chrome) if it isn't updating correctly.

+ WynnBuilder
Join the discord today to suggest new features, submit bug reports, and hangout/talk to devs!
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Level:
Assign: 0
Original: 0
Assign: 0
Original: 0
Assign: 0
Original: 0
Assign: 0
Original: 0
Assign: 0
Original: 0
Active boosts
Earth
Thunder
Water
Fire
Air
Curse (Active)
Concentration (Passive)
Offense
Defense
Overall
melee
poison
Input a weapon to see abilities!

Made by hppeng, ferricles, and reschan with Atlas Inc (JavaScript required to function, nothing works without js)

Hard refresh the page (Ctrl+Shift+R on windows/chrome) if it isn't updating correctly.

diff --git a/builder/index_full.html b/builder/index_full.html index a050f82..4b5bb41 100644 --- a/builder/index_full.html +++ b/builder/index_full.html @@ -1371,7 +1371,6 @@ - @@ -1385,8 +1384,6 @@ - - diff --git a/js/display.js b/js/display.js index 85062cc..00775ce 100644 --- a/js/display.js +++ b/js/display.js @@ -8,7 +8,7 @@ function apply_elemental_format(p_elem, id, suffix) { let i_elem = make_elem('span', [element_prefix], {textContent: element_prefix}); p_elem.appendChild(i_elem); - let i_elem2 = make_elem('span', {textContent: " "+desc+suffix}); + let i_elem2 = make_elem('span', [], {textContent: " "+desc+suffix}); p_elem.appendChild(i_elem2); } @@ -121,7 +121,7 @@ function displayBuildStats(parent_id,build,command_group,stats){ let row = make_elem('div', ['row']); let value_elem = make_elem('div', ['col', 'text-end']); - let prefix_elem = make_elem('b', {textContent: "\u279C Effective LS: "}); + let prefix_elem = make_elem('b', [], {textContent: "\u279C Effective LS: "}); let defStats = getDefenseStats(stats); let number_elem = ('b', [style], {