()
| 150 | |
| 151 | // function to disable the button |
| 152 | function disable() |
| 153 | { |
| 154 | // To disable the button "Generate New Array" |
| 155 | document.getElementById("Button1").disabled = true; |
| 156 | document.getElementById("Button1").style.backgroundColor = "#d8b6ff"; |
| 157 | |
| 158 | // To disable the button "Heap Sort" |
| 159 | document.getElementById("Button2").disabled = true; |
| 160 | document.getElementById("Button2").style.backgroundColor = "#d8b6ff"; |
| 161 | } |
| 162 | // Calling generate_idx function |
| 163 | generate_idx(); |
| 164 |
nothing calls this directly
no outgoing calls
no test coverage detected