We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2733c61 commit b3057bcCopy full SHA for b3057bc
1 file changed
blocks/EmbedBlock/js/author_view.js
@@ -76,11 +76,7 @@ export default AuthorView.extend({
76
if (($embed_time.start >= $embed_time.end) || (this.$('.cw-embedblock-time-end-check').prop( "checked" ) == false)){
77
$embed_time.end = '';
78
}
79
- if (!$embed_time.start) {
80
- $embed_time = '';
81
- } else {
82
- $embed_time = JSON.stringify($embed_time);
83
- }
+ $embed_time = JSON.stringify($embed_time);
84
} else {
85
$embed_time = null;
86
0 commit comments