Skip to content

Commit

Permalink
switcheroo
Browse files Browse the repository at this point in the history
  • Loading branch information
QkeleQ10 committed Jun 11, 2024
1 parent f2af746 commit a45e561
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/magister/scripts/gamification.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,15 +262,15 @@ async function constructWrapped(lastYearOnly) {
let el3 = element('span', null, card2, { class: 'st-w-text-small', innerText: `en het vaakst van ${mostCommonEventTeacher[0]} (${mostCommonEventTeacher[1]}×).` })
cards.push(card2)

let el4 = element('div', `st-wrapped-graph-${i}-2`, card2, { class: 'st-w-bar-chart st-force-light', style: 'position: absolute; padding-inline: 12px; padding-top: 48px; inset: 0; visibility: hidden;' })
let el4 = element('div', `st-wrapped-graph-${i}-4`, card2, { class: 'st-w-bar-chart st-force-light', style: 'position: absolute; padding-inline: 12px; padding-top: 48px; inset: 0; visibility: hidden;' })
.createBarChart(eventSubjectHashmap, null, 1, true, false, false, 15)

let el5 = element('div', `st-wrapped-graph-${i}-2`, card2, { class: 'st-w-bar-chart st-force-light', style: 'position: absolute; padding-inline: 12px; padding-top: 48px; inset: 0; visibility: hidden;' })
.createBarChart(eventLocationHashmap, null, 1, true, false, false, 15)

let el5 = element('div', `st-wrapped-graph-${i}-3`, card2, { class: 'st-w-bar-chart st-force-light', style: 'position: absolute; padding-inline: 12px; padding-top: 48px; inset: 0; visibility: hidden;' })
let el6 = element('div', `st-wrapped-graph-${i}-3`, card2, { class: 'st-w-bar-chart st-force-light', style: 'position: absolute; padding-inline: 12px; padding-top: 48px; inset: 0; visibility: hidden;' })
.createBarChart(eventTeacherHashmap, null, 1, true, false, false, 15)

let el6 = element('div', `st-wrapped-graph-${i}-4`, card2, { class: 'st-w-bar-chart st-force-light', style: 'position: absolute; padding-inline: 12px; padding-top: 48px; inset: 0; visibility: hidden;' })
.createBarChart(eventSubjectHashmap, null, 1, true, false, false, 15)

card2.addEventListener('click', () => {
n = (n + 1) % 4
card2.dataset.page = n + 1
Expand Down

0 comments on commit a45e561

Please sign in to comment.