[FIX] website: rendering 1 preview instead of 2 in SEO dialog

Before this commit, In dialog box of Optimize SEO, we were getting 2 previews.
This fix will remove the rendering of extra preview.

Task ID:1949636
This commit is contained in:
Parth Choksi
2019-04-05 11:34:19 +00:00
parent facacc3c19
commit 14804b2cd1
-2
View File
@@ -342,8 +342,6 @@ var MetaTitleDescription = Widget.extend({
this.$warning = this.$('div#website_meta_description_warning');
this.$preview = this.$('.js_seo_preview');
this._renderPreview();
if (!this.canEditTitle) {
this.$title.attr('disabled', true);
}