From ea13f13a1c11e84f8de064bba91b6aa331a18007 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 1 Sep 2013 02:27:52 -0400 Subject: [PATCH] have sliders send updates immediately (like when using the mouse) --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index c0436df..b9d188d 100644 --- a/main.js +++ b/main.js @@ -193,7 +193,7 @@ function init_ui(local_keys, sync_keys, options) { 'seekcur', 'setvol', 'single', 'stop', ].forEach(function(id) { var ele = window['ui_mpc_' + id] = document.getElementById(id); - ele.onclick = window['tramp_mpc_' + id]; + ele.onchange = ele.onclick = window['tramp_mpc_' + id]; ele.title = id; }); -- 2.39.5