disable dragging of images in review window (#420)

webkit's default behaviour is to remove them from the media folder otherwise,
which we don't want
This commit is contained in:
Damien Elmes 2013-05-17 15:01:01 +09:00
parent e367d04a08
commit dd4bae6e8d

View file

@ -130,6 +130,8 @@ function _updateQA (q, answerMode, klass) {
if (klass) {
document.body.className = klass;
}
// don't allow drags of images, which cause them to be deleted
$("img").attr("draggable", false);
};
function _toggleStar (show) {