Fix full_email option in email-url not working

This commit is contained in:
Hadi Nategh 2018-08-03 16:15:04 +02:00
parent e53482289a
commit c5a291218a
2 changed files with 2 additions and 2 deletions

View File

@ -339,7 +339,7 @@ var et2_url_ro = (function(){ "use strict"; return et2_valueWidget.extend([et2_I
this.span.attr('title',_value); this.span.attr('title',_value);
this.span.text(val.replace(/"/g,'')); this.span.text(val.replace(/"/g,''));
this.span.append("<span class='email'>"+ this.span.append("<span class='noemail'>"+
_value.replace(val,'') _value.replace(val,'')
.replace(/</g, '&lt;') .replace(/</g, '&lt;')
.replace(/>/g, '&gt;') .replace(/>/g, '&gt;')

View File

@ -204,7 +204,7 @@ a.et2_url.url {
box-shadow: none !important; box-shadow: none !important;
background: transparent !important; background: transparent !important;
} }
.et2_email > span.email { .et2_email > span.noemail {
display: none; display: none;
} }
/** /**