v3.1.1
This commit is contained in:
parent
fd62f66ef5
commit
983b50a215
@ -535,6 +535,15 @@ const Blockbench = {
|
||||
delete this.drag_handlers[id]
|
||||
},
|
||||
}
|
||||
|
||||
(function() {
|
||||
var last_welcome = localStorage.getItem('welcomed_version');
|
||||
if (!last_welcome || last_welcome.replace(/.\d+$/, '') != appVersion.replace(/.\d+$/, '')) {
|
||||
Blockbench.addFlag('after_update');
|
||||
}
|
||||
localStorage.setItem('welcomed_version', appVersion);
|
||||
})();
|
||||
|
||||
if (isApp) {
|
||||
Blockbench.platform = process.platform;
|
||||
switch (Blockbench.platform) {
|
||||
|
@ -52,14 +52,6 @@ const mouse_pos = {x:0,y:0}
|
||||
const sort_collator = new Intl.Collator(undefined, {numeric: true, sensitivity: 'base'});
|
||||
|
||||
$.ajaxSetup({ cache: false });
|
||||
(function() {
|
||||
var last_welcome = localStorage.getItem('welcomed_version');
|
||||
if (!last_welcome || last_welcome.replace(/.\d+$/, '') != appVersion.replace(/.\d+$/, '')) {
|
||||
Blockbench.addFlag('after_update');
|
||||
}
|
||||
localStorage.setItem('welcomed_version', appVersion);
|
||||
})();
|
||||
|
||||
|
||||
function initializeApp() {
|
||||
//Browser Detection
|
||||
|
Loading…
x
Reference in New Issue
Block a user