Better selecting
This commit is contained in:
parent
b24f120955
commit
69741b7d33
@ -33,3 +33,8 @@ body.view {
|
|||||||
-moz-transition: opacity .3s ease-out, -moz-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;
|
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 {
|
#multiselect {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
background-color: RGBA(0, 94, 204, .3);
|
background-color: rgba(0, 94, 204, .3);
|
||||||
border: 1px solid RGBA(0, 94, 204, 1);
|
border: 1px solid rgba(0, 94, 204, 1);
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
z-index: 3;
|
z-index: 3;
|
||||||
}
|
}
|
@ -272,7 +272,7 @@ contextMenu = {
|
|||||||
];
|
];
|
||||||
|
|
||||||
contextMenu.show(items, mouse_x, mouse_y, "left");
|
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];
|
if (album.json.password==true) items[3] = ["<a class='icon-unlock'></a> Remove Password", 5];
|
||||||
|
|
||||||
contextMenu.show(items, mouse_x, mouse_y, "left");
|
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]];
|
modal.fns = [buttons[0][1], buttons[1][1]];
|
||||||
$("body").append(build.modal(title, text, buttons, marginTop, closeButton));
|
$("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