Add optional update button for bookmarkOutput

This commit is contained in:
Winston Chang
2016-04-26 16:30:33 -05:00
committed by Joe Cheng
parent c207e130f8
commit 70a022cb4b
3 changed files with 31 additions and 3 deletions

View File

@@ -7,7 +7,7 @@
function renderValue(el, data) {
const $el = $(el);
const $button = $el.find('button');
const $button = $el.find('button[data-clipboard-target]');
// Initialize clipboardjs for this element, one time only
if (!$button.data('clipboard-initialized')) {