Skip to content

Commit

Permalink
Update null check
Browse files Browse the repository at this point in the history
  • Loading branch information
nul800sebastiaan committed Aug 6, 2021
1 parent 3d07734 commit 0404670
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ function navigationService($routeParams, $location, $q, $injector, eventsService
var aboveClass = "above-backdrop";
var leftColumn = document.getElementById("leftcolumn");

if(leftColumn !== null) {
if(leftColumn) {
var isLeftColumnOnTop = leftColumn.classList.contains(aboveClass);

if (isLeftColumnOnTop) {
Expand Down

0 comments on commit 0404670

Please sign in to comment.