Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Vladislav Rykov
THSO.server
Commits
c6c61238
Commit
c6c61238
authored
May 11, 2020
by
Vladislav Rykov
Browse files
linechart first loading fixed
parent
dfd9d3eb
Changes
1
Show whitespace changes
Inline
Side-by-side
app/app/templates/public/dev-data-t.html
View file @
c6c61238
...
...
@@ -72,6 +72,7 @@
<script
type=
"text/javascript"
src=
"https://ajax.googleapis.com/ajax/libs/jquery/3.2.0/jquery.min.js"
></script>
<script
type=
"text/javascript"
>
google
.
charts
.
load
(
'
current
'
,
{
'
packages
'
:[
'
corechart
'
]});
google
.
charts
.
setOnLoadCallback
(
show_first_page
);
function
init_scroll
()
{
var
ts
=
{
...
...
@@ -144,7 +145,9 @@
};
}
function
show_first_page
()
{
document
.
getElementById
(
"
tab_{{ data[0][2] | first }}
"
).
click
();
}
</script>
{% endif %}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment