mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
restored audio and subtitle menus
This commit is contained in:
parent
cd0260b41e
commit
8414228858
6 changed files with 245 additions and 35 deletions
|
@ -188,11 +188,11 @@ function humane_elapsed(firstDateStr, secondDateStr) {
|
|||
|
||||
}
|
||||
|
||||
function getParameterByName(name) {
|
||||
function getParameterByName(name, url) {
|
||||
name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");
|
||||
var regexS = "[\\?&]" + name + "=([^&#]*)";
|
||||
var regex = new RegExp(regexS);
|
||||
var results = regex.exec(window.location.search);
|
||||
var results = regex.exec(url || window.location.search);
|
||||
if (results == null)
|
||||
return "";
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue