mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 04:59:21 +03:00
2016 -> 2017
+ Small fixes
This commit is contained in:
parent
39c07bfc13
commit
6a6f420c76
16 changed files with 297 additions and 294 deletions
|
|
@ -85,7 +85,10 @@
|
|||
padding: 10px;
|
||||
background-color: #eee;
|
||||
color: #333;
|
||||
overflow:scroll;
|
||||
|
||||
html.rl-mobile &{
|
||||
overflow: scroll;
|
||||
}
|
||||
|
||||
.e-identity {
|
||||
|
||||
|
|
@ -111,11 +114,12 @@
|
|||
.e-label {
|
||||
text-align: right;
|
||||
width: 1%;
|
||||
min-width: 50px;
|
||||
padding: 6px 10px 6px 0px;
|
||||
min-width: 70px;
|
||||
padding: 6px 10px;
|
||||
|
||||
html.rl-modal {
|
||||
html.rl-mobile &{
|
||||
min-width: 50px;
|
||||
padding: 6px 10px 6px 0px;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ class ActivatePopupView extends AbstractViewNext
|
|||
this.key.focus(true);
|
||||
}
|
||||
|
||||
}, this.domain(), this.key());
|
||||
}, this.domain(), this.key().replace(/[^A-Z0-9\-]/gi, ''));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -122,7 +122,7 @@ class ActivatePopupView extends AbstractViewNext
|
|||
*/
|
||||
validateSubscriptionKey() {
|
||||
const value = this.key();
|
||||
return '' === value || RAINLOOP_TRIAL_KEY === value || !!(/^RL[\d]+-[A-Z0-9\-]+Z$/).test(trim(value));
|
||||
return '' === value || RAINLOOP_TRIAL_KEY === value || !!(/^RL[\d]+-[A-Z0-9\-]+Z$/).test(trim(value).replace(/[^A-Z0-9\-]/gi, ''));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue