Move some cast-related inline js to an external file

There is no point in having such a massive
blob of javascript inline in the page.
master
jvoisin 6 years ago committed by GitHub
parent 7b628ed8dd
commit 3cfe2b31a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      airsonic-main/src/main/webapp/WEB-INF/jsp/playQueue.jsp
  2. 3
      airsonic-main/src/main/webapp/script/playQueueCast.js

@ -10,7 +10,7 @@
<script type="text/javascript" src="<c:url value="/dwr/engine.js"/>"></script>
<script type="text/javascript" src="<c:url value="/dwr/util.js"/>"></script>
<script type="text/javascript" src="<c:url value="/script/mediaelement/mediaelement-and-player.min.js"/>"></script>
<%@ include file="playQueueCast.jsp" %>
<script type="text/javascript" src="<c:url value="/script/playQueueCast.js"/>"></script>
<style type="text/css">
.ui-slider .ui-slider-handle {
width: 11px;

@ -1,4 +1,3 @@
<script type="text/javascript">
(function () {
'use strict';
@ -274,5 +273,3 @@
window.CastPlayer = CastPlayer;
})();
</script>
Loading…
Cancel
Save