]> git.wh0rd.org - tt-rss.git/commitdiff
disable dead frontend code for html5 audio tags (refs #246)
authorAndrew Dolgov <fox@bah.org.ru>
Tue, 6 Oct 2009 09:01:40 +0000 (13:01 +0400)
committerAndrew Dolgov <fox@bah.org.ru>
Tue, 6 Oct 2009 09:01:40 +0000 (13:01 +0400)
functions.js

index cb8a0dc5a774dd29072db012f02a0573e5ff28ee..02417db792193f6fef4db12e791880df4e2fc9bf 100644 (file)
@@ -2133,6 +2133,8 @@ function truncate_string(s, length) {
        if (s.length > length) tmp += "&hellip;";
        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'));
                }
        }
-}
+} */