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:
parent
e6bf5ef591
commit
6a366158dd
@ -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};
|
||||
|
Loading…
Reference in New Issue
Block a user