diff --git a/changelog.txt b/changelog.txt index 0e0c596..c162092 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,6 @@ +03/18/2018 Fixed importStyle + Bumped to 1.12.3 + 01/10/2018 Merged fix for top-level Canvas support Bumped to 1.12.2 diff --git a/package.json b/package.json index ad1c318..34d12d3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "print-this", - "version": "1.12.2", + "version": "1.12.3", "description": "Printing plug-in for jQuery", "main": "printThis.js", "dependencies": { diff --git a/printThis.jquery.json b/printThis.jquery.json index 8d40da8..0c97903 100644 --- a/printThis.jquery.json +++ b/printThis.jquery.json @@ -1,6 +1,6 @@ { "name": "printThis", - "version": "1.12.2", + "version": "1.12.3", "title": "printThis", "description": "Printing plug-in for jQuery. Print specific page elements, add print options, maintain or add new styling using jQuery.", "author": { diff --git a/printThis.js b/printThis.js index b3778a5..b7dc8fd 100644 --- a/printThis.js +++ b/printThis.js @@ -1,5 +1,5 @@ /* - * printThis v1.12.2 + * printThis v1.12.3 * @desc Printing plug-in for jQuery * @author Jason Day * @@ -166,7 +166,7 @@ // import style tags if (opt.importStyle) $("style").each(function() { - $(this).clone().appendTo($head); + $head.append(this.outerHTML); }); // add title of the page