[sharepoint] Fix test failure due to jQuery Events API changes.

This commit is contained in:
Leonard Thieu 2018-10-28 11:28:43 -04:00
parent e1d3c4aba9
commit 8f46997efa

View File

@ -2038,7 +2038,7 @@ namespace _ {
// do is retrieve a reference to the term set with the same ID as the div, and
// then add the term that belong to that term set under the div that was clicked.
function showTerms(event: JQuery.Event, groupID: SP.Guid, termSetID: SP.Guid) {
function showTerms(event: JQuery.ClickEvent, groupID: SP.Guid, termSetID: SP.Guid) {
// First, cancel the bubble so that the group div click handler does not also fire
// because that removes all term set divs and we don't want that here.
event.originalEvent.cancelBubble = true;