mirror of
https://github.com/beestat/app.git
synced 2025-06-22 06:50:45 -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:
parent
fc41e7c2fc
commit
62a09191c1
@ -77,7 +77,8 @@ beestat.component.metric.prototype.decorate_ = function(parent) {
|
|||||||
|
|
||||||
var chart_container = $.createElement('div').style({
|
var chart_container = $.createElement('div').style({
|
||||||
'position': 'relative',
|
'position': 'relative',
|
||||||
'height': '60px'
|
'height': '60px',
|
||||||
|
'user-select': 'none'
|
||||||
});
|
});
|
||||||
td_chart.appendChild(chart_container);
|
td_chart.appendChild(chart_container);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user