Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 54: | Rivi 54: | ||
memo.headerEl.append( '<div class="obscharttitle" style="Xdisplay: none; float: left;"></div>' ); | memo.headerEl.append( '<div class="obscharttitle" style="Xdisplay: none; float: left;"></div>' ); | ||
memo.titleEl = jQuery( this ).find( '.obscharttitle' ); | memo.titleEl = jQuery( this ).find( '.obscharttitle' ); | ||
// add fullscreen button | // add fullscreen button | ||
| Rivi 67: | Rivi 63: | ||
memo.downloadEl = jQuery( this ).find( '.download-button' ); | memo.downloadEl = jQuery( this ).find( '.download-button' ); | ||
// add download data button | |||
memo.headerEl.append( '<div class="obschartbutton download-button" style="display: none; margin-left: 10px; float: right; Xbackground-color: rgba( 255, 255, 255, 1 ); border-radius: 50%; Xborder: 1px solid rgba( 0, 0, 0, 0.5 ); Xpadding: 1px;"><button title="' + i18n['download'][memo.lang] + '" style="width: 24px; height: 24px; padding: 0; margin: 0; color: #1B599B; background: none; border: none;"><i class="fas fa-download"></i></button></div>' ); | |||
memo.downloadEl = jQuery( this ).find( '.download-button' ); | |||
memo.siteid = jQuery( this ).attr( 'data-jw-siteid' ); | memo.siteid = jQuery( this ).attr( 'data-jw-siteid' ); | ||


