File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ function gtag() {
106
106
<option>false</option>
107
107
<option>true</option>
108
108
</select>
109
-
109
+
110
110
<label for="border_radius">Border Radius</label>
111
111
<input class="param" type="number" id="border_radius" name="border_radius" placeholder="4.5" value="4.5" step="0.1">
112
112
@@ -146,13 +146,13 @@ function gtag() {
146
146
<option><?php echo $ option ; ?> </option>
147
147
<?php endforeach ; ?>
148
148
</select>
149
- <button class="plus btn" onclick="return preview.addProperty(); ">+</button>
149
+ <button class="plus btn" type="button" onclick="return preview.addProperty()">+</button>
150
150
</div>
151
- <button class="btn" type="button" onclick=' return preview.exportPhp()' >Export to PHP</button>
151
+ <button class="btn" type="button" onclick=" return preview.exportPhp()" >Export to PHP</button>
152
152
<textarea id="exportedPhp" hidden></textarea>
153
153
</details>
154
154
155
- <input class="btn" type="submit" value=" Open Permalink" >
155
+ <button class="btn" type="submit"> Open Permalink</button >
156
156
</form>
157
157
</div>
158
158
@@ -192,4 +192,4 @@ function gtag() {
192
192
</a>
193
193
</body>
194
194
195
- </html>
195
+ </html>
Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ const preview = {
80
80
const minus = document . createElement ( "button" ) ;
81
81
minus . className = "minus btn" ;
82
82
minus . setAttribute ( "onclick" , "return preview.removeProperty(this.getAttribute('data-property'));" ) ;
83
+ minus . setAttribute ( "type" , "button" ) ;
83
84
minus . innerText = "−" ;
84
85
minus . setAttribute ( "data-property" , propertyName ) ;
85
86
// add elements
You can’t perform that action at this time.
0 commit comments