From 4de26ac319233afe5b59be8a92686d6f7e24ba84 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 20 Mar 2019 21:59:52 +0100 Subject: [PATCH] Remove pngfix pngfix.js is used for compatibility's reason with IE 5 and 6. I think that now that we're in 2019, we can get rid of it. Signed-off-by: jvoisin --- .../src/main/webapp/WEB-INF/jsp/error.jsp | 3 -- .../src/main/webapp/WEB-INF/jsp/head.jsp | 3 -- .../src/main/webapp/script/pngfix.js | 39 ------------------- 3 files changed, 45 deletions(-) delete mode 100644 airsonic-main/src/main/webapp/script/pngfix.js diff --git a/airsonic-main/src/main/webapp/WEB-INF/jsp/error.jsp b/airsonic-main/src/main/webapp/WEB-INF/jsp/error.jsp index 730312b8..1907539e 100644 --- a/airsonic-main/src/main/webapp/WEB-INF/jsp/error.jsp +++ b/airsonic-main/src/main/webapp/WEB-INF/jsp/error.jsp @@ -6,9 +6,6 @@ <%@ include file="head.jsp" %> - diff --git a/airsonic-main/src/main/webapp/WEB-INF/jsp/head.jsp b/airsonic-main/src/main/webapp/WEB-INF/jsp/head.jsp index 9a0c731d..9a417c83 100644 --- a/airsonic-main/src/main/webapp/WEB-INF/jsp/head.jsp +++ b/airsonic-main/src/main/webapp/WEB-INF/jsp/head.jsp @@ -1,8 +1,5 @@ <%@ include file="include.jsp" %> - "/> diff --git a/airsonic-main/src/main/webapp/script/pngfix.js b/airsonic-main/src/main/webapp/script/pngfix.js deleted file mode 100644 index 87d4b1cd..00000000 --- a/airsonic-main/src/main/webapp/script/pngfix.js +++ /dev/null @@ -1,39 +0,0 @@ -/* - -Correctly handle PNG transparency in Win IE 5.5 & 6. -http://homepage.ntlworld.com/bobosola. Updated 18-Jan-2006. - -Use in with DEFER keyword wrapped in conditional comments: - - -*/ - -var arVersion = navigator.appVersion.split("MSIE") -var version = parseFloat(arVersion[1]) - -if ((version >= 5.5) && (document.body.filters)) -{ - for(var i=0; i" - img.outerHTML = strNewHTML - i = i-1 - } - } -} \ No newline at end of file