overte/server-console/src/splash.js
2016-01-19 16:11:08 -08:00

11 lines
336 B
JavaScript

var remote = require('electron').remote;
ready = function() {
window.$ = require('./vendor/jquery/jquery-2.1.4.min.js');
var userConfig = remote.getGlobal('userConfig');
$('#suppress-splash').change(function() {
console.log("updating");
userConfig.set('doNotShowSplash', $(this).is(':checked'));
});
}