react-telephone-input
Advanced tools
Comparing version 4.2.2 to 4.2.3
@@ -260,3 +260,3 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
}, | ||
handleFlagDropdownClick: function handleFlagDropdownClick() { | ||
handleFlagDropdownClick: function handleFlagDropdownClick(e) { | ||
var _this = this; | ||
@@ -267,2 +267,4 @@ | ||
} | ||
e.preventDefault(); | ||
// need to put the highlight on the current selected country if the dropdown is going to open up | ||
@@ -269,0 +271,0 @@ this.setState({ |
@@ -264,3 +264,3 @@ 'use strict'; | ||
}, | ||
handleFlagDropdownClick: function handleFlagDropdownClick() { | ||
handleFlagDropdownClick: function handleFlagDropdownClick(e) { | ||
var _this = this; | ||
@@ -271,2 +271,4 @@ | ||
} | ||
e.preventDefault(); | ||
// need to put the highlight on the current selected country if the dropdown is going to open up | ||
@@ -273,0 +275,0 @@ this.setState({ |
{ | ||
"name": "react-telephone-input", | ||
"version": "4.2.2", | ||
"version": "4.2.3", | ||
"description": "React component for entering and validating international telephone numbers", | ||
@@ -5,0 +5,0 @@ "main": "lib/ReactTelephoneInput.js", |
75476
1995