Allow 800x600 window size
@ -91,20 +91,10 @@ $(document).ready(function () {
}
});
win.setMinimumSize(1024, 800);
win.setMinimumSize(800, 600);
win.on('close', function () {
//Save window size and position
// var height = win.height;
// var width = win.width;
//
// if (height < 400) {
// height = 400
// }
// if (width < 512) {
// width = 512
chrome.storage.local.set({'windowSize': {height: win.height, width: win.width, x: win.x, y: win.y}}, function () {
// Notify that we saved.
console.log('Settings saved');