Commit f67db1ef authored by Luc Didry's avatar Luc Didry
Browse files

Fix stupid duplicated line

parent 25152ccf
Pipeline #25244 passed with stage
in 35 seconds
......@@ -329,7 +329,6 @@ function reset() {
$('#'+'porn-x').val('400');
$('#'+'porn-y').val('350');
$('#'+'porn-size').val('220');
$('#'+'porn-size').val('220');
$('#'+'porn-color').val('#000000');
$('#'+'color').val('#fcd205');
$('#'+'rect-color').val('#000000');
......
......@@ -10,7 +10,7 @@ case"img":hide("bg-color"),hide("gradient-settings"),show("bg-img-settings"),"cu
break
default:hide("bg-color"),hide("gradient-settings"),hide("bg-img-settings"),hide("bg-custom-img-settings")}}function show(e){var a=$("#"+e)
a.hasClass("d-none")&&a.removeClass("d-none")}function hide(e){var a=$("#"+e)
a.hasClass("d-none")||a.addClass("d-none")}function reset(){$("#wemake-x").val("400"),$("#wemake-y").val("160"),$("#wemake-size").val("150"),$("#wemake-color").val("#000000"),$("#porn-x").val("400"),$("#porn-y").val("350"),$("#porn-size").val("220"),$("#porn-size").val("220"),$("#porn-color").val("#000000"),$("#color").val("#fcd205"),$("#rect-color").val("#000000"),$("#add-glitter").prop("checked",!1),$("#bg-type").val("plain"),$("#gr-orientation").val("lr"),$("#bg-img").val("beer"),$("#corners").val("20"),$("#custom-img").val(null),$("#custom-x").val(0),$("#custom-y").val(0),$("#custom-size").val(0),show("bg-color"),hide("gradient-settings"),hide("bg-img-settings"),hide("bg-custom-img-settings"),refreshText()}function refreshFilename(){var e=$("#wemake"),a=$("#porn"),t=$("#filename"),s=$("#svg"),r="png"
a.hasClass("d-none")||a.addClass("d-none")}function reset(){$("#wemake-x").val("400"),$("#wemake-y").val("160"),$("#wemake-size").val("150"),$("#wemake-color").val("#000000"),$("#porn-x").val("400"),$("#porn-y").val("350"),$("#porn-size").val("220"),$("#porn-color").val("#000000"),$("#color").val("#fcd205"),$("#rect-color").val("#000000"),$("#add-glitter").prop("checked",!1),$("#bg-type").val("plain"),$("#gr-orientation").val("lr"),$("#bg-img").val("beer"),$("#corners").val("20"),$("#custom-img").val(null),$("#custom-x").val(0),$("#custom-y").val(0),$("#custom-size").val(0),show("bg-color"),hide("gradient-settings"),hide("bg-img-settings"),hide("bg-custom-img-settings"),refreshText()}function refreshFilename(){var e=$("#wemake"),a=$("#porn"),t=$("#filename"),s=$("#svg"),r="png"
s.hasClass("d-none")||(r="svg")
var o=e.val()+" "+a.val()+"."+r
t.val(o.replace(/ /g,"_"))}function refreshText(){var e=$("#wemake"),a=$("#wemake-x"),t=$("#wemake-y"),s=$("#wemake-size"),r=$("#wemake-color"),o=$("#porn"),l=$("#porn-x"),n=$("#porn-y"),i=$("#porn-size"),c=$("#porn-color"),g=$("#color"),m=$("#add-glitter"),h=$("#bg-type"),d=$("#rect-color"),v=$("#bgr-color"),u=$("#egr-color"),p=$("#gr-orientation"),w=$("#bg-img"),f=$("#corners"),b=document.getElementById("canvas"),P=b.getContext("2d"),x=$("#svg")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment