mirror of
https://gitlab.com/CodeSolutionsProject/CodeShare.git
synced 2026-02-19 19:41:32 +01:00
Improve ReHightlight performance, add create tables and start to restore password system
This commit is contained in:
@@ -26,9 +26,10 @@ function ajaxresponse(){
|
||||
}
|
||||
|
||||
function reHightlight(){
|
||||
var codebox = document.getElementsByClassName("codeto");
|
||||
var codebox = document.getElementsByClassName("toHightlight");
|
||||
for(var i=0;i<codebox.length;++i){
|
||||
hljs.highlightBlock(codebox[i]);
|
||||
codebox.classList.remove('toHightlight');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user