mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 09:38:53 +01:00
Fix F.F does not trigger resize nm column onmousedown, but after mouseup
This commit is contained in:
parent
162c08a457
commit
a512c04183
@ -41,9 +41,17 @@
|
|||||||
if (overlay == null || helper == null)
|
if (overlay == null || helper == null)
|
||||||
{
|
{
|
||||||
// Prevent text selection
|
// Prevent text selection
|
||||||
|
// FireFox handles highlight prevention (text selection) different than other browsers
|
||||||
|
if (typeof _elem[0].style.MozUserSelect !="undefined")
|
||||||
|
{
|
||||||
|
_elem[0].style.MozUserSelect = "none";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
_elem[0].onselectstart = function() {
|
_elem[0].onselectstart = function() {
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
// Reset the "didResize" flag
|
// Reset the "didResize" flag
|
||||||
didResize = false;
|
didResize = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user