xiply

very simple js/html5 audio player
git clone https://git.ce9e.org/xiply.git

commit
2aed553ea40b6855703a1a085f638c5699c92bc5
parent
ecf0d59d95f6252a1e802a0daf75b9fd319a4b54
Author
Tobias Bengfort <tobias.bengfort@gmx.net>
Date
2015-07-09 10:01
only play on left click

Diffstat

M xiply.js 2 +-

1 files changed, 1 insertions, 1 deletions


diff --git a/xiply.js b/xiply.js

@@ -68,7 +68,7 @@ function init_xiply(container) {
   68    68 	}
   69    69 
   70    70 	container.addEventListener('click', function(e) {
   71    -1 		if (e.target.classList.contains('track')) {
   -1    71 		if (e.target.classList.contains('track') && e.button === 0) {
   72    72 			e.preventDefault();
   73    73 			load(e.target);
   74    74 		}