Skip to content
This repository has been archived by the owner on Nov 16, 2020. It is now read-only.

Commit

Permalink
(optimizing) exclude the zooming of emoji
Browse files Browse the repository at this point in the history
  • Loading branch information
ZoeyWoohoo committed Feb 4, 2019
1 parent af5c4d0 commit 42abc35
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion assets/js/post_content_init.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ window.onload = function() {
var images = document.getElementById('post-content').getElementsByTagName('img');
var zooming = new Zooming();
for (var i=0; i<images.length; i++){
zooming.listen(images[i]);
if (images[i].className == "") {
zooming.listen(images[i]);
}
}
}

0 comments on commit 42abc35

Please # to comment.