src/js/extensions/scrollSync/scrollSync.js
function changeButtonVisiblityStateIfNeed() {
    if (editor.mdPreviewStyle === 'vertical' && editor.currentMode === 'markdown') {
      button.$el.show();
      $divider.show();
    } else {
      button.$el.hide();
      $divider.hide();
    }
  }
function changeButtonVisiblityStateIfNeed() {
    if (editor.mdPreviewStyle === 'vertical' && editor.currentMode === 'markdown') {
      button.$el.show();
      $divider.show();
    } else {
      button.$el.hide();
      $divider.hide();
    }
  }
function changeButtonVisiblityStateIfNeed ( ) { if ( editor . mdPreviewStyle === 'vertical' && editor . currentMode === 'markdown' ) { button . $el . show ( ) ; $divider . show ( ) ; } else { button . $el . hide ( ) ; $divider . hide ( ) ; } }
change button visiblity state
change button visiblity state