]> git.wh0rd.org Git - chrome-ext/music-player-client.git/commitdiff
mpc: fix typo in setting up crossfade()
authorMike Frysinger <vapier@gentoo.org>
Sat, 24 Aug 2013 07:06:46 +0000 (03:06 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 24 Aug 2013 07:06:46 +0000 (03:06 -0400)
js/mpc.js

index bf2d9697d3e639521efa131fb1667e0ce45ee67f..7093ed38bd8c8f3df2758286263919aa05b7afe8 100644 (file)
--- a/js/mpc.js
+++ b/js/mpc.js
@@ -130,7 +130,7 @@ Mpc.prototype.stats               = Mpc.__make_send_void('stats');
 // consume {STATE}
 Mpc.prototype.consume             = Mpc.__make_send_range('consume', 0, 1, 1);
 // crossfade {SECONDS}
-Mpc.prototype.consume             = Mpc.__make_send_arg1('crossfade');
+Mpc.prototype.crossfade           = Mpc.__make_send_arg1('crossfade');
 // mixrampdb {deciBels}
 Mpc.prototype.mixrampdb           = Mpc.__make_send_arg1('mixrampdb');
 // mixrampdelay {SECONDS|nan}