Skip to content

Commit

Permalink
MAGETWO-56972: CLONE - [GitHub] Image size for Product Watermarks can…
Browse files Browse the repository at this point in the history
…'t be set #5270

- modifying regex to support both 200X300 to 200x300
  • Loading branch information
cpartica committed Aug 31, 2016
1 parent 66cb85c commit 20b383f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ define([
validator.addRule(
'validate-image-size-range',
function (value) {
var dataAttrRange = /^(\d+)x(\d+)$/,
var dataAttrRange = /^(\d+)[Xx](\d+)$/,
m;

if (utils.isEmptyNoTrim(value)) {
Expand Down

0 comments on commit 20b383f

Please sign in to comment.