Skip to content

Commit b3057bc

Browse files
author
\nrlucke
committed
fixes #271
1 parent 2733c61 commit b3057bc

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

blocks/EmbedBlock/js/author_view.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,7 @@ export default AuthorView.extend({
7676
if (($embed_time.start >= $embed_time.end) || (this.$('.cw-embedblock-time-end-check').prop( "checked" ) == false)){
7777
$embed_time.end = '';
7878
}
79-
if (!$embed_time.start) {
80-
$embed_time = '';
81-
} else {
82-
$embed_time = JSON.stringify($embed_time);
83-
}
79+
$embed_time = JSON.stringify($embed_time);
8480
} else {
8581
$embed_time = null;
8682
}

0 commit comments

Comments
 (0)