Fix Alignment button
diff --git a/dev/js/src/init.js b/dev/js/src/init.js
index da94a73..7c403aa 100644
--- a/dev/js/src/init.js
+++ b/dev/js/src/init.js
@@ -78,7 +78,7 @@
* Toggle the alignment (left <=> right)
*/
if (i > 0) {
- var br = document.getElementById('button-right');
+ var br = document.querySelector('div.button.right');
if (br !== null) {
var toggle = document.createElement('a');
toggle.setAttribute('title', 'toggle Alignment');
@@ -156,6 +156,7 @@
// Initialize documentation links
obj.tutorial.initDocLinks(document);
+/*
if (KorAP.currentQuery !== undefined) {
var sb = document.getElementById('searchbar');
var kq = document.createElement('div');
@@ -164,6 +165,7 @@
kq.innerHTML = JSON.stringify(KorAP.currentQuery, null, ' ');
hljs.highlightBlock(kq);
};
+*/
/**
* Init hint helper