Remove highlighting

This commit is contained in:
Kenox 2022-11-03 19:37:55 +01:00
commit 396c8f76a8
3 changed files with 4 additions and 4 deletions

View file

@ -239,7 +239,7 @@ haste.prototype.loadDocument = function(key) {
_this.$textarea.val('').hide(); _this.$textarea.val('').hide();
_this.$box.show().focus(); _this.$box.show().focus();
_this.addLineNumbers(ret.lineCount); _this.addLineNumbers(ret.lineCount);
hljs.highlightAll(); //hljs.highlightAll();
} }
else { else {
_this.newDocument(); _this.newDocument();
@ -272,7 +272,7 @@ haste.prototype.lockDocument = function() {
_this.$textarea.val('').hide(); _this.$textarea.val('').hide();
_this.$box.show().focus(); _this.$box.show().focus();
_this.addLineNumbers(ret.lineCount); _this.addLineNumbers(ret.lineCount);
hljs.highlightAll(); // hljs.highlightAll();
} }
}); });
}; };

File diff suppressed because one or more lines are too long

View file

@ -8,7 +8,7 @@
<link rel="stylesheet" type="text/css" href="application.css"/> <link rel="stylesheet" type="text/css" href="application.css"/>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript" src="highlight.min.js"></script> <!--<script type="text/javascript" src="highlight.min.js"></script>-->
<script type="text/javascript" src="application.min.js"></script> <script type="text/javascript" src="application.min.js"></script>
<meta name="robots" content="noindex,nofollow"/> <meta name="robots" content="noindex,nofollow"/>