(id, action)
| 688 | |
| 689 | // Bind action to button with specified id. |
| 690 | function addAction(id, action) { |
| 691 | const btn = document.getElementById(id); |
| 692 | if (btn != null) { |
| 693 | btn.addEventListener('click', action); |
| 694 | btn.addEventListener('touchstart', action); |
| 695 | } |
| 696 | } |
| 697 | |
| 698 | addAction('details', handleDetails); |
| 699 | initConfigManager(); |
no outgoing calls
no test coverage detected
searching dependent graphs…