diff --git a/example/index.html b/example/index.html index 65c26ed..899148d 100644 --- a/example/index.html +++ b/example/index.html @@ -18,10 +18,10 @@ Copy
- - + +
diff --git a/src/Clipboard.js b/src/Clipboard.js index da8937e..2ab631d 100644 --- a/src/Clipboard.js +++ b/src/Clipboard.js @@ -26,14 +26,14 @@ exports.fromStringSelector = makeFromX(function makeFromX$fromStringSelector (ef }; }); -exports.fromElementWithTarget = function (el){ - return function(targetSelector) { - return function() { - return new Clipboard(el, { - target: targetSelector - }); - }; +exports.fromElementWithTarget = function (el) { + return function(targetSelector) { + return function() { + return new Clipboard(el, { + target: targetSelector + }); }; + }; };