Skip to content

Commit

Permalink
Update prow/cmd/deck/static/common/common.ts
Browse files Browse the repository at this point in the history
Co-Authored-By: Katharine Berry <ktbry@google.com>
  • Loading branch information
mirandachrist and Katharine authored Jun 19, 2019
1 parent 3df8839 commit cc50999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prow/cmd/deck/static/common/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export namespace tooltip {
}

export namespace icon {
export function create(iconString: string, tip: string = "", onClick: string = ""): HTMLAnchorElement {
export function create(iconString: string, tip: string = "", onClick: (this: HTMLElement, ev: MouseEvent) => any): HTMLAnchorElement {
const i = document.createElement("i");
i.classList.add("icon-button", "material-icons");
i.innerHTML = iconString;
Expand Down

0 comments on commit cc50999

Please sign in to comment.