final test

This commit is contained in:
IvarK 2017-09-26 16:56:49 +03:00
parent 338b0f34f5
commit 191a16173b
3 changed files with 7 additions and 2 deletions

View File

@ -1131,6 +1131,10 @@
<button class="storebtn" style="font-size: 15px" onclick="tooltipSave()" style="display: inline">Yes</button>
<button class="storebtn" style="font-size: 15px" onclick="closeToolTip()" style="display: inline">No</button>
</div>
<div class="popup" id="update">
<div id="updatePopup">The last test, I will use this feature to annoynce updates.</div>
<button class="storebtn" style="font-size: 15px" onclick="closeToolTip()" style="display: inline">Okay</button>
</div>
</body>
<script src="PlayFab/PlayFabClientApi.js"></script>
<script src="javascripts/autobuyer.js"></script>

View File

@ -3251,7 +3251,8 @@ setInterval(function() {
//like this:
if (data.version != player.version) {
player.version = data.version
$.notify(data.message, "info")
document.getElementById("update").style.display = "block"
document.getElementById("updatePopup").innerHTML = data.message
//or some more resilient method
//like forced news bar with message running over and over
}

View File

@ -1 +1 @@
{"version" : 3.2, "message" : "still testing this feature"}
{"version" : 3.21, "message" : "The last test, I will use this feature to annoynce updates."}