Skip to content

Commit

Permalink
Refer to stackoverflow for prev commit
Browse files Browse the repository at this point in the history
  • Loading branch information
OctoNezd committed Jan 2, 2024
1 parent e727dbd commit a5f436e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
Empty file.
2 changes: 1 addition & 1 deletion src/features/posts/indentCommentHide.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { OLFeature } from "../base"

//
// modified ver of https://stackoverflow.com/questions/7462712/detecting-click-event-on-padding-only
function isMarginClick(element: HTMLElement, e: MouseEvent) {
var style = window.getComputedStyle(element, null);
var pTop = parseInt( style.getPropertyValue('margin-top') );
Expand Down
1 change: 0 additions & 1 deletion src/features/posts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import "./css/postIcons.css";
import setupPostContainer from "./postContainer";
import setupExpando from "./expando";
import setupExpandoButton from "./expandoButton";
import setupNativeShare from "./nativeSharing";
import setupToggles from "./postToggles";
import { OLFeature } from "../base";
import NativeShare from "./nativeSharing";
Expand Down

0 comments on commit a5f436e

Please sign in to comment.