mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 05:35:55 +00:00
workaround for xmlhttp permission denied in viewfeed footer (closes #73)
This commit is contained in:
@@ -7,7 +7,7 @@ function browser_has_opacity() {
|
||||
navigator.userAgent.match("Opera") != null;
|
||||
}
|
||||
|
||||
function exception_error(location, e) {
|
||||
function exception_error(location, e, silent) {
|
||||
var msg;
|
||||
|
||||
if (e.fileName) {
|
||||
@@ -23,7 +23,9 @@ function exception_error(location, e) {
|
||||
|
||||
debug("<b>EXCEPTION: " + msg + "</b>");
|
||||
|
||||
alert(msg);
|
||||
if (!silent) {
|
||||
alert(msg);
|
||||
}
|
||||
}
|
||||
|
||||
function disableHotkeys() {
|
||||
|
||||
Reference in New Issue
Block a user