Skip to content

Commit

Permalink
Merge pull request #2 from zaneray/adding-scss
Browse files Browse the repository at this point in the history
Adding scss
  • Loading branch information
tylerfurry authored Jan 29, 2019
2 parents 981b317 + 66df671 commit 5abc1f8
Show file tree
Hide file tree
Showing 8 changed files with 104 additions and 527 deletions.
2 changes: 1 addition & 1 deletion dist/modal-extras.cjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ function modalImage(el) {
galleryLinkArray.push(element.dataset.link);
});

getModalContent().insertAdjacentHTML('beforeend', "<span class='global-arrow prev-arrow'>Go Back</span><span class='global-arrow next-arrow'>Go Forward</span>");
getModalContent().insertAdjacentHTML('beforeend', "<span class='global-arrow prev-arrow'></span><span class='global-arrow next-arrow'></span>");

const goToNextImage = function(direction){
const modalImage = getModalContent().querySelector(".modal-image");
Expand Down
Loading

0 comments on commit 5abc1f8

Please sign in to comment.