1
0
forked from GitHub/gf-core

gfse/sort.js: make it more resusable

Move the gfse-specific list of sortable tags and class names from sort.js
to editor.js.
This commit is contained in:
hallgren
2012-06-21 15:39:31 +00:00
parent 4062bbad61
commit 49ad3a6a23
3 changed files with 30 additions and 22 deletions

View File

@@ -1598,6 +1598,7 @@ if(editor) {
initial_view();
touch_edit();
dir_bugfix();
initialize_sorting(["DIV"],["fun","lin","lincat","oper"]);
}
else
editor.innerHTML="<p>This browser does not appear to support localStorage, and the grammar editor does not work without it. Sorry!"