Skip to content

Commit

Permalink
set image draggable to false
Browse files Browse the repository at this point in the history
  • Loading branch information
emdevs authored and DavidMatalik committed Aug 7, 2021
1 parent f669440 commit ab741c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/chapterDOM.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ const createChapterStructure = (chapterObj, displayHome, callback) => {

const picture = document.createElement("img");
picture.src = image.url;
picture.draggable = false;

const pictureContainer = document.createElement("div");
pictureContainer.classList.add("picture")
Expand Down

0 comments on commit ab741c9

Please sign in to comment.