Better selecting
This commit is contained in:
parent
b24f120955
commit
69741b7d33
@ -32,4 +32,9 @@ body.view {
|
||||
-webkit-transition: color .3s, opacity .3s ease-out, -webkit-transform .3s ease-out, box-shadow .3s;
|
||||
-moz-transition: opacity .3s ease-out, -moz-transform .3s ease-out, box-shadow .3s;
|
||||
transition: color .3s, opacity .3s ease-out, transform .3s ease-out, box-shadow .3s;
|
||||
}
|
||||
input {
|
||||
-webkit-user-select: text !important;
|
||||
-moz-user-select: text !important;
|
||||
user-select: text !important;
|
||||
}
|
@ -6,8 +6,8 @@
|
||||
|
||||
#multiselect {
|
||||
position: absolute;
|
||||
background-color: RGBA(0, 94, 204, .3);
|
||||
border: 1px solid RGBA(0, 94, 204, 1);
|
||||
background-color: rgba(0, 94, 204, .3);
|
||||
border: 1px solid rgba(0, 94, 204, 1);
|
||||
border-radius: 3px;
|
||||
z-index: 3;
|
||||
}
|
@ -272,7 +272,7 @@ contextMenu = {
|
||||
];
|
||||
|
||||
contextMenu.show(items, mouse_x, mouse_y, "left");
|
||||
$(".contextmenu input").focus();
|
||||
$(".contextmenu input").focus().select();
|
||||
|
||||
},
|
||||
|
||||
@ -307,7 +307,7 @@ contextMenu = {
|
||||
if (album.json.password==true) items[3] = ["<a class='icon-unlock'></a> Remove Password", 5];
|
||||
|
||||
contextMenu.show(items, mouse_x, mouse_y, "left");
|
||||
$(".contextmenu input").focus();
|
||||
$(".contextmenu input").focus().select();
|
||||
|
||||
},
|
||||
|
||||
|
@ -20,7 +20,7 @@ modal = {
|
||||
|
||||
modal.fns = [buttons[0][1], buttons[1][1]];
|
||||
$("body").append(build.modal(title, text, buttons, marginTop, closeButton));
|
||||
$(".message input:first-child").focus();
|
||||
$(".message input:first-child").focus().select();
|
||||
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user