Skip to content
Snippets Groups Projects
Commit e419596a authored by Adrian Lang's avatar Adrian Lang
Browse files

Use click event in subscription JS, use DW’s event system

darcs-hash:20091202121618-e4919-e3c409aa3e6e24db89558a6e62b8c46df950f5b0.gz
parent 34240a59
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ addInitEvent(function () {
for (var i = 0; i < inputs.length ; ++i) {
switch (inputs[i].name) {
case 'sub_target':
inputs[i].addEventListener('change', update_state, false);
addEvent(inputs[i], 'click', update_state);
if (inputs[i].checked) {
cur_sel = inputs[i];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment