changed var to const

This commit is contained in:
Patrick O'Carroll
2018-03-20 14:26:03 +01:00
parent 2a50bc35a3
commit 3bdd006291

View File

@@ -5,10 +5,10 @@ import rst2html from 'rst2html';
import Drop from 'tether-drop';
export function graphiteAddFunc($compile) {
var inputTemplate =
const inputTemplate =
'<input type="text"' + ' class="gf-form-input"' + ' spellcheck="false" style="display:none"></input>';
var buttonTemplate =
const buttonTemplate =
'<a class="gf-form-label query-part dropdown-toggle"' +
' tabindex="1" gf-dropdown="functionMenu" data-toggle="dropdown">' +
'<i class="fa fa-plus"></i></a>';