mirror of
https://github.com/KevinMidboe/vue-js-modal.git
synced 2025-10-29 18:00:20 +00:00
remove obsolete line
Signed-off-by: onekiloparsec <cedric@onekilopars.ec>
This commit is contained in:
@@ -109,7 +109,6 @@
|
||||
default: 300,
|
||||
validator (value) {
|
||||
if (typeof value === 'string') {
|
||||
const reg = RegExp('^(\d+|\d+[.]\d+)%?$')
|
||||
return value === 'auto' || (value.charAt(value.length-1) === '%' && !isNaN(parseFloat(value)))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user