Skip to content

Commit 366bd68

Browse files
committed
feat(loadingView): add setContent method
Closes #732
1 parent e5cba05 commit 366bd68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/views/loadingView.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
this.showDelay = opts.showDelay || 0;
1818

19-
this._loadingBox = this.el.querySelector('.loading');
19+
this._loadingBox = this.el.querySelector('.loading') || this.el;
2020
},
2121
show: function() {
2222
var _this = this;

0 commit comments

Comments
 (0)