| assets/js/code.js | ●●●●● patch | view | raw | blame | history |
assets/js/code.js
@@ -158,11 +158,13 @@ } function toggleLineNumbers(elems) { elems.forEach(function (elem, index) { // mark the code element when there are no lines modifyClass(elem, 'pre_nolines') }); restrainCodeBlockHeight(elems); if(elems) { elems.forEach(function (elem, index) { // mark the code element when there are no lines modifyClass(elem, 'pre_nolines') }); restrainCodeBlockHeight(elems); } } function toggleLineWrap(elem) {