Display hostname instead of full uri
This commit is contained in:
parent
221c36268e
commit
54d9157049
|
|
@ -372,7 +372,6 @@
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-size: 11px !important;
|
font-size: 11px !important;
|
||||||
padding: 8px 10px 5px;
|
padding: 8px 10px 5px;
|
||||||
vertical-align: bottom;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#tarteaucitronAlertSmall #tarteaucitronManager:hover {
|
#tarteaucitronAlertSmall #tarteaucitronManager:hover {
|
||||||
|
|
@ -416,7 +415,7 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-size: 34px;
|
font-size: 34px;
|
||||||
padding: 2px 10px 0;
|
padding: 3px 10px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#tarteaucitronAlertSmall #tarteaucitronCookiesNumber:hover {
|
#tarteaucitronAlertSmall #tarteaucitronCookiesNumber:hover {
|
||||||
|
|
|
||||||
|
|
@ -898,7 +898,8 @@ var tarteaucitron = {
|
||||||
d,
|
d,
|
||||||
s = (nb > 1) ? 's' : '',
|
s = (nb > 1) ? 's' : '',
|
||||||
savedname,
|
savedname,
|
||||||
host = (tarteaucitron.domain !== undefined) ? tarteaucitron.domain : tarteaucitron.cdn;
|
regex = /^https?\:\/\/([^\/?#]+)(?:[\/?#]|$)/i,
|
||||||
|
host = (tarteaucitron.domain !== undefined) ? tarteaucitron.domain : tarteaucitron.cdn.match(regex)[1];
|
||||||
|
|
||||||
cookies = cookies.sort(function (a, b) {
|
cookies = cookies.sort(function (a, b) {
|
||||||
namea = a.split('=', 1).toString().replace(/ /g, '');
|
namea = a.split('=', 1).toString().replace(/ /g, '');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue