1
0
mirror of https://github.com/thebaer/MMRA synced 2024-11-13 10:11:01 +00:00

Shrink header images when navigating within Medium as well

This commit is contained in:
Dan Berman 2017-09-04 18:43:06 -07:00
parent e6bf5ef591
commit 6a366158dd

View File

@ -47,7 +47,10 @@ var shrinkHeaderImages = function() {
}
var observer = new MutationObserver(function(mutations){
mutations.forEach(makeReadable);
mutations.forEach(function(){
makeReadable();
shrinkHeaderImages();
});
});
var config = {attributes: true};