Skip to content

Commit

Permalink
UX-2181: test commit
Browse files Browse the repository at this point in the history
  • Loading branch information
motching committed Jul 27, 2020
1 parent 110df6c commit e84f1e8
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions readmore.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,20 +73,15 @@
}

function setBoxHeights(element) {
console.error('stacktrace');
var el = element.clone().css({
height: 'auto',
width: element.width(),
maxHeight: 'none',
overflow: 'hidden'
}).insertAfter(element),
console.log('element:');
console.log(element.outerHeight());
console.log(element);
console.log('el:');
console.log(el.outerHeight());
console.log(el);
expandedHeight = element.outerHeight(),
//expandedHeight = element.outerHeight(),
window.attila_1 = element.outerHeight(),
expandedHeight = 800;
cssMaxHeight = parseInt(el.css({maxHeight: ''}).css('max-height').replace(/[^-\d\.]/g, ''), 10),
defaultHeight = element.data('defaultHeight');

Expand Down

0 comments on commit e84f1e8

Please sign in to comment.