1
0
mirror of https://github.com/beestat/app.git synced 2025-05-24 02:14:03 -04:00

Prevented text selection on Metric charts

https://community.beestat.io/t/block-text-selection-for-graphs-on-mobile-site/394
This commit is contained in:
Jon Ziebell 2021-01-30 21:34:41 -05:00
parent fc41e7c2fc
commit 62a09191c1

View File

@ -77,7 +77,8 @@ beestat.component.metric.prototype.decorate_ = function(parent) {
var chart_container = $.createElement('div').style({
'position': 'relative',
'height': '60px'
'height': '60px',
'user-select': 'none'
});
td_chart.appendChild(chart_container);