Explain *1

This commit is contained in:
Jordan Eldredge 2014-11-14 08:24:15 -08:00
parent f294575fd1
commit 9a4c1bf269

View file

@ -417,6 +417,7 @@ document.onkeyup = function(e){
winamp.nodes.option.click();
}else{
switch (key){
// *1 is used to cast these values to integers. Could be improved.
// up arrow
case 38: winamp.setVolume((winamp.nodes.volume.value*1)+1); break;
// numpad 8