Skip to content

Commit

Permalink
[Faraz] update preview plugin to work with multiple editors
Browse files Browse the repository at this point in the history
  • Loading branch information
FarazPatankar committed Jan 23, 2017
1 parent 240e226 commit 21dc767
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/summernote-ext-preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
$('#' + problemTextPreview).parent().toggleClass("hide-element unhide-element col-xs-6");
$('#' + problemTextPreview).parent().prev().toggleClass("col-xs-6 col-xs-12");
} else {
$('#problem-text-preview').toggle()
$editable.parent().parent().parent().parent().siblings('.wysiwygp').toggle()
}
},
}
Expand Down

0 comments on commit 21dc767

Please sign in to comment.