Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Close button stopPropagation spelling fix. #115

Merged
merged 1 commit into from

2 participants

@limitlis

Clicking close button currently causes error in console.

@limitlis limitlis Close button stopPropagation spelling fix.
Clicking close button currently causes error in console.
a80710a
@johnpapa
Owner

doh! darn editors.

@johnpapa johnpapa merged commit 3ac25d2 into from
@limitlis

Thanks for pulling this! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 11, 2013
  1. @limitlis

    Close button stopPropagation spelling fix.

    limitlis authored
    Clicking close button currently causes error in console.
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 toastr.js
View
4 toastr.js
@@ -213,7 +213,7 @@
}
if (options.closeButton && $closeElement) {
$closeElement.click(function (event) {
- event.stopPropogation();
+ event.stopPropagation();
hideToast(true);
});
}
@@ -303,4 +303,4 @@
} else {
window['toastr'] = factory(window['jQuery']);
}
-}));
+}));
Something went wrong with that request. Please try again.