1
0
mirror of synced 2024-11-26 14:56:07 +03:00

Fixed anchor hrefs

Fixes #482: Mobile Safari issues
This commit is contained in:
Kevin Brown 2012-10-10 17:24:58 -03:00
parent c169bd511f
commit f5ac9bf90c

View File

@ -1403,7 +1403,7 @@ the specific language governing permissions and limitations under the Apache Lic
var container = $("<div></div>", { var container = $("<div></div>", {
"class": "select2-container" "class": "select2-container"
}).html([ }).html([
" <a href='#' onclick='return false;' class='select2-choice'>", " <a href='javascript:void(0)' onclick='return false;' class='select2-choice'>",
" <span></span><abbr class='select2-search-choice-close' style='display:none;'></abbr>", " <span></span><abbr class='select2-search-choice-close' style='display:none;'></abbr>",
" <div><b></b></div>" , " <div><b></b></div>" ,
"</a>", "</a>",
@ -2074,7 +2074,7 @@ the specific language governing permissions and limitations under the Apache Lic
var choice=$( var choice=$(
"<li class='select2-search-choice'>" + "<li class='select2-search-choice'>" +
" <div></div>" + " <div></div>" +
" <a href='#' onclick='return false;' class='select2-search-choice-close' tabindex='-1'></a>" + " <a href='javascript:void(0)' onclick='return false;' class='select2-search-choice-close' tabindex='-1'></a>" +
"</li>"), "</li>"),
id = this.id(data), id = this.id(data),
val = this.getVal(), val = this.getVal(),