Skip to content

Commit

Permalink
Update irstats2.xml
Browse files Browse the repository at this point in the history
update javascript calls
  • Loading branch information
jesusbagpuss authored Oct 8, 2020
1 parent ae610a2 commit f70cdcd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/lang/en/phrases/irstats2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Export as <epc:pin name="options"/>
<!-- Pseudo reports (eg. the ones on citations/summary pages) -->
<epp:phrase id="lib/irstats2:embedded:citation:eprint">
<script type="text/javascript">
document.observe("dom:loaded",function(){
google.setOnLoadCallback(function(){
new EPJS_Stats_Sparkline ( {
'container_id': 'spark_<epc:pin name='eprintid'/>',
'datatype': 'downloads',
Expand All @@ -106,7 +106,7 @@ Export as <epc:pin name="options"/>
<!--<p style="text-align:center"><a href="#" id="irstats2_summary_page:link">View more statistics</a></p>-->
</div>
<script type="text/javascript">
document.observe("dom:loaded",function(){
google.setOnLoadCallback(function(){

var irstats2_summary_page_eprintid = '<epc:pin name='eprintid'/>';

Expand All @@ -129,7 +129,7 @@ document.observe("dom:loaded",function(){
<h3>Origin of downloads</h3>
<div id="irstats2_summary_page_countries" class="irstats2_google_geochart"/>
<script type="text/javascript">
document.observe("dom:loaded",function(){
google.setOnLoadCallback(function(){

var irstats2_summary_page_eprintid = '<epc:pin name='eprintid'/>';

Expand Down

0 comments on commit f70cdcd

Please sign in to comment.