Cleaning up settings and dialogs CSS

This commit is contained in:
jdescottes
2015-06-07 12:40:40 +02:00
parent e773f9ae6d
commit 12cfe16cb4
13 changed files with 50 additions and 46 deletions

View File

@@ -10,10 +10,10 @@
pskl.utils.inherit(ns.PngExportController, pskl.controller.settings.AbstractSettingController);
ns.PngExportController.prototype.init = function () {
this.pngFilePrefixInput = document.getElementById('zip-prefix-name');
this.pngFilePrefixInput = document.querySelector('.zip-prefix-name');
this.pngFilePrefixInput.value = 'sprite_';
this.splitByLayersCheckbox = document.getElementById('zip-split-by-layers');
this.splitByLayersCheckbox = document.querySelector('.zip-split-layers-checkbox');
var downloadButton = document.querySelector('.png-download-button');
this.addEventListener(downloadButton, 'click', this.onPngDownloadButtonClick_);