mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-08 20:23:39 +00:00
@@ -176,7 +176,7 @@ const Editor = createClass({
|
|||||||
|
|
||||||
brewJump : function(targetPage=this.getCurrentPage()){
|
brewJump : function(targetPage=this.getCurrentPage()){
|
||||||
if(!window || this.isMeta()) return;
|
if(!window || this.isMeta()) return;
|
||||||
window.frames['BrewRenderer'].contentDocument.getElementById(`p${targetPage}`).scrollIntoView({ behaviour: 'auto', block: 'start' });
|
window.frames['BrewRenderer'].contentDocument.getElementById(`p${targetPage}`).scrollIntoView({ behavior: 'auto', block: 'start' });
|
||||||
// const hashPage = (page != 1) ? `p${page}` : '';
|
// const hashPage = (page != 1) ? `p${page}` : '';
|
||||||
// window.location.hash = hashPage;
|
// window.location.hash = hashPage;
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user