mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-08-22 22:26:01 +00:00
deploy: f1c8e5c79d
This commit is contained in:
parent
83ee8a8f46
commit
4829b6e633
265 changed files with 6787 additions and 6787 deletions
js
|
@ -323,7 +323,7 @@ function initMermaid( update, attrs ) {
|
|||
var button = parent.querySelector( '.svg-reset-button' );
|
||||
var zoom = d3.zoom().on( 'zoom', function( e ){
|
||||
inner.attr( 'transform', e.transform );
|
||||
if( e.transform.k == 1 ){
|
||||
if( e.transform.k == 1 && e.transform.x == 0 && e.transform.y == 0 ){
|
||||
button.classList.remove( 'zoomed' );
|
||||
}
|
||||
else{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue