prevent dragging of user images
This commit is contained in:
parent
8ef7a3148e
commit
675f92534b
1 changed files with 2 additions and 1 deletions
|
@ -118,7 +118,8 @@ Twittia.prototype.getTemplate = function() {
|
|||
|
||||
var image = document.createElement("img");
|
||||
image.className = "image";
|
||||
item.appendChild(image);
|
||||
image.onmousedown = function(e) { e.preventDefault(); };
|
||||
item.appendChild(image);
|
||||
|
||||
var image_username = a.cloneNode();
|
||||
image.appendChild(image_username);
|
||||
|
|
Reference in a new issue