Safer checkUrl
This commit is contained in:
parent
b6e03116ba
commit
7b2e4170e9
|
@ -51,6 +51,8 @@ export default Ember.Component.extend({
|
|||
},
|
||||
|
||||
_checkForUrl() {
|
||||
if (!this.element || this.isDestroying || this.isDestroyed) { return; }
|
||||
|
||||
if (this.get('isAbsoluteUrl') && (this.get('composer.reply')||"").length === 0) {
|
||||
// Try to onebox. If success, update post body and title.
|
||||
|
||||
|
|
Loading…
Reference in New Issue