提交 bd61a3b6 编写于 作者: A Abdullah Almsaeed

Merge #918. Fix date-range button selection issue

上级 fe147c9b
......@@ -756,7 +756,9 @@
<div class="input-group">
<button type="button" class="btn btn-default pull-right" id="daterange-btn">
<i class="fa fa-calendar"></i> Date range picker
<span>
<i class="fa fa-calendar"></i> Date range picker
</span>
<i class="fa fa-caret-down"></i>
</button>
</div>
......@@ -1144,7 +1146,7 @@
endDate: moment()
},
function (start, end) {
$('#reportrange span').html(start.format('MMMM D, YYYY') + ' - ' + end.format('MMMM D, YYYY'));
$('#daterange-btn span').html(start.format('MMMM D, YYYY') + ' - ' + end.format('MMMM D, YYYY'));
}
);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册