11 lines
321 B
TypeScript
11 lines
321 B
TypeScript
import cheet from 'cheet.js';
|
|
|
|
export default (): void => {
|
|
cheet('up up down down left right left right b a', () => {
|
|
document.body.classList.add('fa-spin');
|
|
|
|
Array.from(document.querySelectorAll('.answerbox__question-text')).forEach((element: HTMLElement) => {
|
|
element.innerText = ':^)';
|
|
});
|
|
});
|
|
} |