[refactor] remove old code

This commit is contained in:
Kuldeep M 2019-07-03 17:01:55 +01:00
parent 77ae95b82f
commit a0ac0e78e6
2 changed files with 9 additions and 14 deletions

View File

@ -882,15 +882,15 @@
</div>
</div>
<hr>
<div class="input-wrap">
<input id="control-link-item-order-displayname" class="control-link-item-order-displayname" type="radio" name="control-link-item-order" value="displayname" tabindex="1">
<label for="control-link-item-order-displayname">Letter/Icon then Name</label>
</div>
<div class="input-wrap">
<input id="control-link-item-order-namedisplay" class="control-link-item-order-namedisplay" type="radio" name="control-link-item-order" value="namedisplay" tabindex="1">
<label for="control-link-item-order-namedisplay">Name then Letter/Icon</label>
<p class="input-helper small muted">Only available when Letter/Icon and Name is shown.</p>
</div>
<div class="input-wrap">
<input id="control-link-item-order-displayname" class="control-link-item-order-displayname" type="radio" name="control-link-item-order" value="displayname" tabindex="1">
<label for="control-link-item-order-displayname">Letter/Icon then Name</label>
</div>
<div class="input-wrap">
<input id="control-link-item-order-namedisplay" class="control-link-item-order-namedisplay" type="radio" name="control-link-item-order" value="namedisplay" tabindex="1">
<label for="control-link-item-order-namedisplay">Name then Letter/Icon</label>
<p class="input-helper small muted">Only available when Letter/Icon and Name is shown.</p>
</div>
<hr>
<div class="input-wrap">
<input id="control-link-item-url-show" class="control-link-item-url-show" type="checkbox" tabindex="1">

View File

@ -2156,11 +2156,6 @@ var control = (function() {
});
};
var _renderItemDisplayLetter = function() {
var html = helper.e("html");
html.style.setProperty("--link-item-display-letter-size", state.get().link.item.display.letter.size + "em");
};
var bind = function() {
var eventType = {
a: "click",