Changes between Version 18 and Version 19 of HTMLGfx


Ignore:
Timestamp:
Dec 30, 2014, 9:26:20 PM (6 years ago)
Author:
romw
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HTMLGfx

    v18 v19  
    158158{{{
    159159    refresh() {
    160         if (window.external.IsAppInitDataUpdated()) {
    161             window.external.SetAppInitDataUpdate(false);
    162             username = window.external.UserName;
    163             teamname = window.external.TeamName;
     160        if (window.external.isStateUpdated()) {
     161            window.external.resetStateUpdate(false);
     162            username = window.external.userName;
     163            teamname = window.external.teamName;
    164164        }
    165         fractiondone = window.external.FractionDone;
     165        fractiondone = window.external.fractionDone;
    166166    }
    167167}}}