Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Commit 2299fed

Browse files
committed
Eliminate redundant check
1 parent 1ec2d8c commit 2299fed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tinymce.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ angular.module('ui.tinymce', [])
1515

1616
var expression, options, tinyInstance,
1717
updateView = function (editor) {
18-
if(typeof options.raw !== 'undefined' && options.raw === true) {
18+
if (options.raw === true) {
1919
ngModel.$setViewValue(editor.getContent({format: 'text'}).trim());
2020
} else {
2121
ngModel.$setViewValue(element.val());

0 commit comments

Comments
 (0)