Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove extra line
  • Loading branch information
share-with-me committed Jun 19, 2017
commit e175afff56634a5adae703fec7ce57f0f51a8480
1 change: 0 additions & 1 deletion assets/js/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ $(document).ready(function () {
$('#originalText').css('overflow-y', 'scroll');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why can't this situation be solved with simply a overflow: y-scroll? I'm guessing you've tried it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why can't this situation be solved with simply a overflow: y-scroll?

Um, I had tried that! As soon as synchronizeTextareaHeights method is called, the CSS for this div changes. And thus, I started with this approach of checking if the textarea height falls in the range for scrolling!

}
});

});

if(config.PIWIK_SITEID && config.PIWIK_URL) {
Expand Down