Showing
1 changed file
with
1 additions
and
1 deletions
@@ -15,7 +15,7 @@ class Page { | @@ -15,7 +15,7 @@ class Page { | ||
15 | this.$event.trigger(name, ...data); | 15 | this.$event.trigger(name, ...data); |
16 | } | 16 | } |
17 | ajax(options = {}) { | 17 | ajax(options = {}) { |
18 | - return Promise.resolve($.ajax(options)); | 18 | + return Promise.resolve($.ajax(options)).catch(e => {}); |
19 | } | 19 | } |
20 | } | 20 | } |
21 | 21 |
-
Please register or login to post a comment