MediaWiki:Gadget-falloff.js: Difference between revisions
Damage falloff charts follow the cursor |
TeamSpec theme: colours move from inline styles to MediaWiki:Common.css classes |
||
| Line 12: | Line 12: | ||
}); | }); | ||
var line = document.createElement('div'); | var line = document.createElement('div'); | ||
line. | line.className = 'ts-falloff-cursor'; | ||
var readout = document.createElement('div'); | var readout = document.createElement('div'); | ||
readout. | readout.className = 'ts-falloff-readout'; | ||
plot.appendChild(line); | plot.appendChild(line); | ||
plot.appendChild(readout); | plot.appendChild(readout); | ||