1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-31 15:24:31 +03:00

Fixed code block selection and drag/drop issues

This commit is contained in:
Dan Brown
2017-07-01 15:38:11 +01:00
parent 968e7b8b72
commit a94844b6b7
2 changed files with 40 additions and 24 deletions

View File

@ -96,7 +96,6 @@ module.exports.wysiwygView = function(elem) {
let lang = (elem.className || '').replace('language-', '');
if (lang === '' && codeElem) {
console.log(codeElem.className);
lang = (codeElem.className || '').replace('language-', '')
}