add dev
Some checks reported errors
continuous-integration/drone/push Build was killed
Deploy to pages / build (push) Has been cancelled

This commit is contained in:
Николай Вигдоров
2025-11-04 17:14:53 +03:00
parent c7bbef9c5c
commit 49a297108e
2 changed files with 11 additions and 1 deletions

View File

@ -127,7 +127,6 @@ const getExample = () => {
default:
return isPlusMinusKind ? getMinusExample() : getDivisionExample();
}
};
export const getDifficultyById = id => {
@ -323,3 +322,13 @@ resetButton.addEventListener(EVENTS.CLICK, () => {
});
renderPage();
const markDev = () => {
if (['localhost', 'dev'].some(v => location.href.includes(v))) {
const marker = document.getElementById('dev-marker');
marker.innerText = 'DEVELOP';
}
};
markDev();