Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Readarr/commit/692f182b5e658dc58731b3f1c45bf0d897125e2d?style=split&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
3 additions and
3 deletions
@ -65,8 +65,7 @@ function bindSeriesAutoComplete(selector) {
. data ( "autocomplete" ) . _renderItem = function ( ul , item ) {
. data ( "autocomplete" ) . _renderItem = function ( ul , item ) {
return $ ( "<li></li>" )
return $ ( "<li></li>" )
. data ( "item.autocomplete" , item )
. data ( "item.autocomplete" , item )
. append ( "<a>" + item . DisplayedTitle + "</a>" )
. append ( "<a>" + item . DisplayedTitle + "<div class='tvDbLink'>" + item . Url + "</div></a>" )
. append ( "<div class='tvDbLink'>" + item . Url + "</div>" )
. appendTo ( ul ) ;
. appendTo ( ul ) ;
} ;
} ;
} ) ;
} ) ;
@ -71,9 +71,10 @@
$('#addSeriesAccordion').accordion("activate", false);
$('#addSeriesAccordion').accordion("activate", false);
});
});
$(document).on('click', '.tvDbLink', function () {
$(document).on('click', '.tvDbLink', function (event ) {
var url = $(this).text();
var url = $(this).text();
window.open(url, 'thetvdb');
window.open(url, 'thetvdb');
event.preventDefault();
});
});
</script>
</script>
}
}