mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
Make eslint happy.
This commit is contained in:
parent
d61df21d69
commit
4657d22eb0
2 changed files with 1 additions and 5 deletions
|
@ -50,11 +50,7 @@ export default class LockOn {
|
|||
|
||||
$(window).scrollTop(previousTop);
|
||||
|
||||
let i = 0;
|
||||
|
||||
const interval = setInterval(() => {
|
||||
i = i + 1;
|
||||
|
||||
let top = this.elementTop();
|
||||
const scrollTop = $(window).scrollTop();
|
||||
|
||||
|
|
|
@ -358,7 +358,7 @@ export function withPluginApi(version, apiCodeCallback, opts) {
|
|||
|
||||
const api = getPluginApi(version);
|
||||
if (api) {
|
||||
return apiCodeCallback(api);
|
||||
return apiCodeCallback(api, opts);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue