Browse Source

lazy load chromecast script

Luke Pulverenti 10 years ago
parent
commit
d6d3a5fc24

+ 0 - 1
MediaBrowser.WebDashboard/Api/PackageCreator.cs

@@ -548,7 +548,6 @@ namespace MediaBrowser.WebDashboard.Api
                                 "editorsidebar.js",
                                 "librarymenu.js",
                                 "mediacontroller.js",
-                                "chromecast.js",
                                 "backdrops.js",
                                 "sync.js",
                                 "syncjob.js",

+ 3 - 0
MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj

@@ -225,6 +225,9 @@
     <Content Include="dashboard-ui\cordovaindex.html">
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </Content>
+    <Content Include="dashboard-ui\thirdparty\cordova\chromecast.js">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
     <Content Include="dashboard-ui\thirdparty\cordova\imagestore.js">
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </Content>