mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-23 08:11:28 +00:00
do not call correctPNG() when undefined
This commit is contained in:
6
prefs.js
6
prefs.js
@@ -42,7 +42,9 @@ function feedlist_callback() {
|
|||||||
|
|
||||||
caller_subop = false;
|
caller_subop = false;
|
||||||
}
|
}
|
||||||
|
if (typeof correctPNG != 'undefined') {
|
||||||
correctPNG();
|
correctPNG();
|
||||||
|
}
|
||||||
notify("");
|
notify("");
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
exception_error("feedlist_callback", e);
|
exception_error("feedlist_callback", e);
|
||||||
@@ -54,7 +56,9 @@ function filterlist_callback() {
|
|||||||
var container = document.getElementById('prefContent');
|
var container = document.getElementById('prefContent');
|
||||||
if (xmlhttp.readyState == 4) {
|
if (xmlhttp.readyState == 4) {
|
||||||
container.innerHTML=xmlhttp.responseText;
|
container.innerHTML=xmlhttp.responseText;
|
||||||
|
if (typeof correctPNG != 'undefined') {
|
||||||
correctPNG();
|
correctPNG();
|
||||||
|
}
|
||||||
notify("");
|
notify("");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -77,7 +81,9 @@ function labellist_callback() {
|
|||||||
checkbox.checked = true;
|
checkbox.checked = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (typeof correctPNG != 'undefined') {
|
||||||
correctPNG();
|
correctPNG();
|
||||||
|
}
|
||||||
notify("");
|
notify("");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user