0

Possible Duplicate:
disable text highlighting on double click in jQuery

I have a program here that when you click, it fires a turret. but every time you double click it highlights all the pictures. is there any way I can fix that?? Thanks!!

Here is what it looks like:

Community
  • 1
  • 1
Zock77
  • 951
  • 8
  • 26

1 Answers1

2

You could disable user-selections using css:

-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
gabitzish
  • 9,535
  • 7
  • 44
  • 65