Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CSS-Tricks/The-Printliminator.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMottie <wowmotty@gmail.com>2015-08-24 20:24:49 +0300
committerMottie <wowmotty@gmail.com>2015-08-24 20:24:49 +0300
commitc399bf2ae30dccf46a5ae782e7fc74e71cf15bf2 (patch)
treed9022444af9727eb1eb2b2a6d21f7417e87505b2
parentf9acdfe637e6abf54309ff41b360f8ad5296d84d (diff)
Don't remove stylesheet upon closing
-rw-r--r--README.md2
-rw-r--r--src/printliminator.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 451e0ce..a3ae966 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@ print styling.
* <kbd>Esc</kbd> to cancel.
* [ ] Make Printliminator window draggable.
* [ ] Add documentation to the wiki pages.
-* [ ] Remove jQuery dependency (maybe?)
+* [ ] Remove jQuery dependency.
### Recent Changes
diff --git a/src/printliminator.js b/src/printliminator.js
index d650cc3..91403fb 100644
--- a/src/printliminator.js
+++ b/src/printliminator.js
@@ -169,7 +169,7 @@ function csstricksPrintliminator( jQ ) {
// Close
$( '<div class="_print_controls_close">' )
.click( function() {
- $( '._print_controls, #_print_controls_styles' ).remove();
+ $( '._print_controls' ).remove();
})
.appendTo( $controls );