slick icon indicating copy to clipboard operation
slick copied to clipboard

Firefox tag <a>

Open hernanif1 opened this issue 12 years ago • 5 comments

When put a html tag a inside div, on firefox don´t drap and drop.

hernanif1 avatar May 05 '14 19:05 hernanif1

Can you be a bit more descriptive?

kenwheeler avatar May 07 '14 00:05 kenwheeler

please, try to drag the number, using firefox, when I click and drag, it's like I was dragging a common link, i uploaded the file the way i´m testing http://www.tutoriaisphotoshop.com.br/slick/index.html can be a error with the new actualization of firefox?

hernanif1 avatar May 07 '14 00:05 hernanif1

Hmm, certainly seems like a firefox thing. I'll check the event object and see if I can do anything about it.

kenwheeler avatar May 07 '14 01:05 kenwheeler

Adding this to my main.js file fixes this:

$('img, a').bind('dragstart', function(event) {
    event.preventDefault();
});

Hope it helps.

miguelleite avatar May 12 '14 10:05 miguelleite

You're the guy! Thank´s very much!

hernanif1 avatar May 12 '14 14:05 hernanif1