summaryrefslogtreecommitdiffstats
path: root/data/js/script.js
diff options
context:
space:
mode:
authorJoakim Reinert <mail@jreinert.com>2015-04-19 01:21:28 +0200
committerFlorian Pritz <bluewind@xinu.at>2015-05-05 12:21:27 +0200
commitf0be7e7412721039cdd37798fe294dd5cb41d216 (patch)
tree7b0c731174da32296d2e061f867af0393f401a66 /data/js/script.js
parentc6448f49018ba88d5b2525b224415e6d7fd2b4fe (diff)
Refactor linewrap toggle
Diffstat (limited to 'data/js/script.js')
-rw-r--r--data/js/script.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/data/js/script.js b/data/js/script.js
index f0ab3cc94..5c509c41a 100644
--- a/data/js/script.js
+++ b/data/js/script.js
@@ -1,15 +1,5 @@
(function($) {
$(function() {
- window.lines_wrapped = true;
- $('[id^=linewrap-]').click(function() {
- if (window.lines_wrapped == true) {
- $(".highlight > pre").css("white-space", "pre");
- } else {
- $(".highlight > pre").css("white-space", "pre-wrap");
- }
- window.lines_wrapped = !window.lines_wrapped;
- });
-
$('.upload_thumbnails a').popover({
trigger: "hover",
placement: "bottom",