Skip to content

Commit 1dd511e

Browse files
committed
Merge pull request select2#487 from kevin-brown/master
Fixes select2#482: Mobile Safari issues
2 parents c169bd5 + f5ac9bf commit 1dd511e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

select2.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1403,7 +1403,7 @@ the specific language governing permissions and limitations under the Apache Lic
14031403
var container = $("<div></div>", {
14041404
"class": "select2-container"
14051405
}).html([
1406-
" <a href='#' onclick='return false;' class='select2-choice'>",
1406+
" <a href='javascript:void(0)' onclick='return false;' class='select2-choice'>",
14071407
" <span></span><abbr class='select2-search-choice-close' style='display:none;'></abbr>",
14081408
" <div><b></b></div>" ,
14091409
"</a>",
@@ -2074,7 +2074,7 @@ the specific language governing permissions and limitations under the Apache Lic
20742074
var choice=$(
20752075
"<li class='select2-search-choice'>" +
20762076
" <div></div>" +
2077-
" <a href='#' onclick='return false;' class='select2-search-choice-close' tabindex='-1'></a>" +
2077+
" <a href='javascript:void(0)' onclick='return false;' class='select2-search-choice-close' tabindex='-1'></a>" +
20782078
"</li>"),
20792079
id = this.id(data),
20802080
val = this.getVal(),

0 commit comments

Comments
 (0)