Skip to content

Commit da4aea9

Browse files
committed
Fix line length
1 parent a61dd13 commit da4aea9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/js/form/element/validator-rules-mixin.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,8 @@ define([
193193

194194
href = (href || '').replace(/^\s+/, '').replace(/\s+$/, '');
195195

196-
return validateIsUrl(href) && (href.match(/youtube\.com|youtu\.be|youtube-nocookie\.com/) || href.match(/vimeo\.com/));
196+
return validateIsUrl(href)
197+
&& (href.match(/youtube\.com|youtu\.be|youtube-nocookie\.com/) || href.match(/vimeo\.com/));
197198
},
198199
$.mage.__('Please enter a valid video URL.')
199200
);

0 commit comments

Comments
 (0)