Skip to content

Commit 2981a72

Browse files
committed
fix after rebase
1 parent 02c7a82 commit 2981a72

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/lib/sticky-header/sticky-header-dir.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,14 +168,12 @@ export class CdkStickyHeader implements OnDestroy, AfterViewInit {
168168
body.appendChild(div);
169169
let isSupport = /sticky/i.test(window.getComputedStyle(div).position);
170170
body.removeChild(div);
171-
div = null;
172171
if (isSupport == true) {
173172
supportList.push(prefixTestList[i]);
174173
}
175174
}
176175
return supportList;
177176
}
178-
179177

180178
/**
181179
* Get the first element from this._supportList. Set it as a prefix of

0 commit comments

Comments
 (0)