source/fonts.js
// Event-handler for the Defaults button

Event-handler for the Defaults button
Event - handler for the Defaults button
function onDefaultsClick(e) {
    config.fontFamily = config.fontFamilyDefault
    config.fontSize = config.fontSizeDefault
    setPreviewFontFamily()
    setPreviewFontSize()
    setSelectedFontFamily()
    setSelectedFontSize()
    sendFontFamilyChange()
    sendFontSizeChange()
  }
function onDefaultsClick ( e ) { config . fontFamily = config . fontFamilyDefault config . fontSize = config . fontSizeDefault setPreviewFontFamily ( ) setPreviewFontSize ( ) setSelectedFontFamily ( ) setSelectedFontSize ( ) sendFontFamilyChange ( ) sendFontSizeChange ( ) }
Event-handler for the Defaults button
Event - handler for the Defaults button