Skip to content

Commit

Permalink
Merge pull request #146 from jasonday/fix-styleImport
Browse files Browse the repository at this point in the history
Fix style import
  • Loading branch information
oculus42 authored Mar 18, 2018
2 parents 2d49a44 + cbbe694 commit 511cca2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion printThis.jquery.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions printThis.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* printThis v1.12.2
* printThis v1.12.3
* @desc Printing plug-in for jQuery
* @author Jason Day
*
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 511cca2

Please sign in to comment.