Skip to content
Snippets Groups Projects
Unverified Commit c0f2ebf7 authored by Sébastien Gaya's avatar Sébastien Gaya
Browse files

Merge branch 'headings' of github.com:noesya/osuny into headings

parents 11ba11f7 9ae6b751
No related branches found
No related tags found
No related merge requests found
......@@ -5,12 +5,12 @@ window.osuny.contentEditor = {
init: function () {
'use strict';
this.container = document.querySelector('.js-content-editor');
this.sortHeadingsUrl = this.container.getAttribute('data-sort-headings-url');
this.sortBlocksUrl = this.container.getAttribute('data-sort-blocks-url');
if (this.container === null) {
return;
}
this.sortHeadingsUrl = this.container.getAttribute('data-sort-headings-url');
this.sortBlocksUrl = this.container.getAttribute('data-sort-blocks-url');
this.initElements();
this.initSortable();
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment