wrong default

Signed-off-by: onekiloparsec <cedric@onekilopars.ec>
This commit is contained in:
onekiloparsec
2017-07-06 16:37:38 +02:00
parent 80b37b8c69
commit 22664da45f

View File

@@ -93,7 +93,7 @@
},
width: {
type: [Number, String],
default: [Number, String],
default: 600,
validator (value) {
if (typeof value === 'string') {
return value.charAt(value.length-1) === '%' && !isNaN(parseFloat(value))