diff options
| author | Teddy Wing | 2017-03-18 17:19:45 +0100 |
|---|---|---|
| committer | Teddy Wing | 2017-03-18 17:19:45 +0100 |
| commit | b3df24818c5e9d8d53d5104a5e1c90b872805960 (patch) | |
| tree | 6c5159bac974ba163deb061af3847f28a073c364 | |
| parent | f8c5cbed610100851d83a28194dce192dcc065ca (diff) | |
| download | chrome-timetasker-b3df24818c5e9d8d53d5104a5e1c90b872805960.tar.bz2 | |
Fix typo in `populate_select` function name
That's what I get for doing this while sick.
| -rw-r--r-- | timetasker.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/timetasker.js b/timetasker.js index 2678dc4..b642312 100644 --- a/timetasker.js +++ b/timetasker.js @@ -19,26 +19,26 @@ var duplicate_0 = document.querySelector('[onclick="Timegrid.duplicate(0);"]'); - popupate_select(client_0, CLIENT); + populate_select(client_0, CLIENT); fire_select_event( - popupate_select(project_0, PROJECT) + populate_select(project_0, PROJECT) ); window.setTimeout(function() { - popupate_select(module_0, MODULE); + populate_select(module_0, MODULE); }, 500); window.setTimeout(function() { - popupate_select(task_0, TASK); + populate_select(task_0, TASK); }, 500); window.setTimeout(function() { - popupate_select(work_type_0, WORK_TYPE); + populate_select(work_type_0, WORK_TYPE); }, 500); time_0.value = TIME; - popupate_select(billable_0, BILLABLE ? 't' : 'f'); + populate_select(billable_0, BILLABLE ? 't' : 'f'); window.setTimeout(function() { @@ -63,7 +63,7 @@ }, 2000); - function popupate_select(element, name) { + function populate_select(element, name) { var options = element.getElementsByTagName('option'); for (var i = 0; i < options.length; i++) { |
