mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-11 02:32:41 +00:00
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into add-notification-client-side
This commit is contained in:
@@ -78,6 +78,8 @@ const BrewRenderer = (props)=>{
|
|||||||
}
|
}
|
||||||
|
|
||||||
const scrollToHash = (hash) => {
|
const scrollToHash = (hash) => {
|
||||||
|
if (!hash) return;
|
||||||
|
|
||||||
const iframeDoc = document.getElementById('BrewRenderer').contentDocument;
|
const iframeDoc = document.getElementById('BrewRenderer').contentDocument;
|
||||||
let anchor = iframeDoc.querySelector(hash);
|
let anchor = iframeDoc.querySelector(hash);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user