From: Andrew Dolgov Date: Tue, 6 Oct 2009 09:01:40 +0000 (+0400) Subject: disable dead frontend code for html5 audio tags (refs #246) X-Git-Tag: 1.3.4~41 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=ab553f9ac5291699be480dd467fbd8a0b8aebc76;p=tt-rss.git disable dead frontend code for html5 audio tags (refs #246) --- diff --git a/functions.js b/functions.js index cb8a0dc5..02417db7 100644 --- a/functions.js +++ b/functions.js @@ -2133,6 +2133,8 @@ function truncate_string(s, length) { if (s.length > length) tmp += "…"; return tmp; } + +/* function switchToFlash(e) { try { var targ = e; @@ -2158,6 +2160,7 @@ function switchToFlash(e) { exception_error("switchToFlash", e); } } + function html5AudioOrFlash(type) { var audioTag = document.createElement('audio'); if(! audioTag.canPlayType || audioTag.canPlayType(type) == "no" || @@ -2166,4 +2169,4 @@ function html5AudioOrFlash(type) { switchToFlash($('switchToFlashLink')); } } -} +} */