make more dlna attributes configurable

This commit is contained in:
Luke Pulverenti
2015-05-08 12:28:06 -04:00
parent b28e9b73bb
commit e14830e9f1
2 changed files with 1 additions and 18 deletions
-17
View File
@@ -71,8 +71,6 @@
html += '</div>';
html = normalizeLinksHtml(html);
$(document.body).prepend(html);
$('.viewMenuBar').trigger('create');
@@ -80,18 +78,6 @@
bindMenuEvents();
}
function replaceAll(str, find, replace) {
return str.replace(new RegExp(find, 'g'), replace);
}
function normalizeLinksHtml(html) {
if (AppInfo.resetOnLibraryChange) {
html = replaceAll(html, '<a ', '<a data-ajax="false"');
}
return html;
}
function bindMenuEvents() {
if (AppInfo.isTouchPreferred) {
@@ -241,8 +227,6 @@
}).join('');
html = normalizeLinksHtml(html);
var elem = $('.libraryMenuOptions').html(html);
$('.sidebarLink', elem).on('click', function () {
@@ -333,7 +317,6 @@
}
html += getViewsHtml();
html = normalizeLinksHtml(html);
html += '</div>';
html += '</div>';
+1 -1
View File
@@ -1363,7 +1363,7 @@ var Dashboard = {
if (AppInfo.hasLowImageBandwidth) {
quality -= 15;
quality -= 20;
if (isBackdrop) {
quality -= 10;