Skip to content

Commit

Permalink
fixed notfound behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
AUTplayed authored Apr 12, 2019
1 parent 6e021dd commit 14dfecc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ldf.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ var ldf = {
loc += document.location.search || "";
}
ldf.helpers.request(loc, function (succ, content) {
if (succ && ldf.notfound !== undefined) {
if (succ || ldf.notfound == undefined) {
ldf.change(selector, content);
} else {
ldf.change(selector, ldf.notfound);
Expand Down

0 comments on commit 14dfecc

Please sign in to comment.