From c928e3ea505a32badee23b8883727ad45ad62a53 Mon Sep 17 00:00:00 2001 From: dumpfmprod Date: Sat, 21 Feb 2015 17:31:52 -0500 Subject: wav files should not autoplay --- static/js/src/text.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'static/js/src/text.js') diff --git a/static/js/src/text.js b/static/js/src/text.js index 9420ba0..773eed4 100644 --- a/static/js/src/text.js +++ b/static/js/src/text.js @@ -120,8 +120,10 @@ function linkReplace(url) { return "" + "" + "" - } else if (type == 'midi' || type == 'wav') { - return ' '+uri.file+'' + } else if (type == 'midi') { + return ' '+uri.file+'' + } else if (type == 'wav') { + return ' '+uri.file+'' } else return "" + url + ""; -- cgit v1.2.3-70-g09d2