diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index b3f60c938..28d9e4a09 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -1675,8 +1675,9 @@ function rcmail_address_string($input, $max=null, $linked=false, $addicon=null, rcmail_output::JS_OBJECT_NAME, rcube::JQ($string)), ), html::img(array( - 'src' => $RCMAIL->output->abs_url($addicon, true), - 'alt' => "Add contact", + 'src' => $RCMAIL->output->abs_url($addicon, true), + 'alt' => "Add contact", + 'class' => 'noselect', ))); } } diff --git a/skins/classic/common.css b/skins/classic/common.css index 2773cb100..54b1c9cc9 100644 --- a/skins/classic/common.css +++ b/skins/classic/common.css @@ -161,6 +161,15 @@ img display: none; } +.noselect +{ + user-select: none; + -moz-user-select: none; + -khtml-user-select: none; + -ms-user-select: none; + -webkit-user-select: none; +} + /* fixes vertical alignment of checkboxes and labels */ label input, label span diff --git a/skins/larry/styles.css b/skins/larry/styles.css index 5f6f095eb..143c135a6 100644 --- a/skins/larry/styles.css +++ b/skins/larry/styles.css @@ -98,6 +98,14 @@ label input + span { vertical-align: middle; } +.noselect { + user-select: none; + -moz-user-select: none; + -khtml-user-select: none; + -ms-user-select: none; + -webkit-user-select: none; +} + /*** buttons ***/ input.button {