Skip to content

Commit 3242bad

Browse files
author
Jessica Shi
committed
fix arrow toggle bug
1 parent 4a69fb5 commit 3242bad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascripts/demo.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ function demo() {
256256
listTensorsBody += "value=\"";
257257
listTensorsBody += formatName;
258258
listTensorsBody += "\"/>";
259-
listTensorsBody += "<label>";
259+
listTensorsBody += "<label data-toggle=\"dropdown\">";
260260
listTensorsBody += "<i class=\"mdl-icon-toggle__label ";
261261
listTensorsBody += "material-icons\">keyboard_arrow_down</i>";
262262
listTensorsBody += "</label>";
@@ -301,7 +301,7 @@ function demo() {
301301
listTensorsBody += "\" data-val=\"";
302302
listTensorsBody += level;
303303
listTensorsBody += "\"/>";
304-
listTensorsBody += "<label>";
304+
listTensorsBody += "<label data-toggle=\"dropdown\">";
305305
listTensorsBody += "<i class=\"mdl-icon-toggle__label ";
306306
listTensorsBody += "material-icons\">keyboard_arrow_down</i>";
307307
listTensorsBody += "</label>";

0 commit comments

Comments
 (0)