Skip to content

Commit

Permalink
refs #40071. Enhance contribution-special-page rightCol selection wit…
Browse files Browse the repository at this point in the history
…h fallback option
  • Loading branch information
poliphilochu committed Apr 26, 2024
1 parent e91e8f2 commit 0cebf63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/contribution_page.d9.js
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@
*/
rightColBetter: function() {
var leftCol = document.querySelector('#intro_text'),
rightCol = document.querySelector('#main-inner');
rightCol = document.querySelector('#main-inner') ? document.querySelector('#main-inner') : document.querySelector('#main .row-offcanvas');

if (leftCol && rightCol) {
var leftColOuterHeight = leftCol.offsetHeight,
Expand Down

0 comments on commit 0cebf63

Please sign in to comment.