Clean up code
This commit is contained in:
parent
b4968f443c
commit
36d0f910f4
1 changed files with 2 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ function pickBackground() {
|
|||
container.style.backgroundColor = backColorPicker.value;
|
||||
}
|
||||
|
||||
|
||||
function resetGrid() {
|
||||
gridSlider.value = gridSlider.defaultValue;
|
||||
container.style.backgroundColor = "#ffffff";
|
||||
|
|
@ -51,6 +52,7 @@ function resetGrid() {
|
|||
getGridDimensions();
|
||||
}
|
||||
|
||||
|
||||
function getGridDimensions() {
|
||||
numGrid = gridSlider.value;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue