use tlzoom class to avoid conflict with thumbnail zoom
This commit is contained in:
parent
a9b92905ca
commit
c497b94378
|
@ -227,7 +227,7 @@ div.majLabelY {
|
|||
font-weight: normal;
|
||||
}
|
||||
|
||||
div.zoom {
|
||||
div.tlzoom {
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
bottom: 0px;
|
||||
|
|
|
@ -169,7 +169,7 @@ function divDataOnClick() {
|
|||
el.onclick = window[el.getAttribute('data-on-click-this')].bind(el, el);
|
||||
el.onmouseover = window[el.getAttribute('data-on-mouseover-this')].bind(el, el);
|
||||
});
|
||||
document.querySelectorAll('div.zoom').forEach(function(el) {
|
||||
document.querySelectorAll('div.tlzoom').forEach(function(el) {
|
||||
el.onclick = function(ev) {
|
||||
window[el.getAttribute('data-on-click')](ev);
|
||||
};
|
||||
|
|
|
@ -742,7 +742,7 @@ function drawSlot($slot,$index) {
|
|||
if ( $mode == 'overlay' ) {
|
||||
echo drawYGrid( $chart, $majYScale, 'majLabelY', 'majTickY', 'majGridY graphWidth' );
|
||||
}
|
||||
echo drawXGrid( $chart, $majXScale, 'majLabelX', 'majTickX', 'majGridX graphHeight', 'zoom graphHeight' );
|
||||
echo drawXGrid( $chart, $majXScale, 'majLabelX', 'majTickX', 'majGridX graphHeight', 'tlzoom graphHeight' );
|
||||
if ( $mode == 'overlay' ) {
|
||||
?>
|
||||
<div id="activity" class="activitySize">
|
||||
|
|
Loading…
Reference in New Issue