This commit is contained in:
Nathan Gray 2011-08-25 22:50:08 +00:00
parent e551dc3895
commit 7f5d8cec65

View File

@ -173,7 +173,7 @@ var et2_url_ro = et2_valueWidget.extend({
if(navigator.userAgent.indexOf('AppleWebKit') !== -1 && ( if(navigator.userAgent.indexOf('AppleWebKit') !== -1 && (
navigator.userAgent.indexOf("iPhone") !== -1 || navigator.userAgent.indexOf("iPhone") !== -1 ||
navigator.userAgent.indexOf("Android") !== -1 navigator.userAgent.indexOf("Android") !== -1
) { )) {
if(_value.indexOf("tel:") == -1) _value = "tel:"+_value; if(_value.indexOf("tel:") == -1) _value = "tel:"+_value;
this.span.attr("href", _value); this.span.attr("href", _value);
} else { } else {