diff --git a/assets/iconkitbuttons/play.png b/assets/iconkitbuttons/generate.png
similarity index 100%
rename from assets/iconkitbuttons/play.png
rename to assets/iconkitbuttons/generate.png
diff --git a/assets/iconkitbuttons/download.png b/assets/iconkitbuttons/save.png
similarity index 100%
rename from assets/iconkitbuttons/download.png
rename to assets/iconkitbuttons/save.png
diff --git a/assets/iconkitbuttons/player.png b/assets/iconkitbuttons/steal.png
similarity index 100%
rename from assets/iconkitbuttons/player.png
rename to assets/iconkitbuttons/steal.png
diff --git a/html/iconkit.html b/html/iconkit.html
index d2c437c..3259f01 100644
--- a/html/iconkit.html
+++ b/html/iconkit.html
@@ -1,7 +1,7 @@
Online Icon Kit
-
+
@@ -44,9 +44,9 @@
@@ -94,7 +94,7 @@ let totalLoaded = 0
if (mobile) $('#logo').attr('width', '80%');
-let iconSettings = localStorage.iconkit.split(",")
+let iconSettings = (localStorage.iconkit || "").split(",")
iconSettings.forEach(x => {
$(`#box-${x}`).prop('checked', true)
})
@@ -197,7 +197,7 @@ fetch('./api/icons').then(res => {
$(`#${selectedForm}-${selectedIcon}`).trigger('click')
$(`#col1-${selectedCol1}`).trigger('click')
$(`#col2-${selectedCol2}`).trigger('click')
- $(`#col3-15`).trigger('click')
+ $('#col3-12').trigger('click')
if (enableGlow == 1) $("#glow").attr('src', $("#glow").attr('src').replace('_off', '_on'))
else $("#glow").attr('src', $("#glow").attr('src').replace('_on', '_off'))
$("#generateIcon").trigger('click')
@@ -335,6 +335,7 @@ $(document).on('change', '.iconsetting', function (e) {
$(document).keydown(function(k) {
if (k.keyCode == 13) {
if ($("#steal").is(":visible")) $("#fetchUser").trigger('click')
+ else if ($(".popup").is(":visible")) return
else $("#generateIcon").trigger('click')
}
if (k.keyCode == 27) { //esc