Skip to content

Commit

Permalink
Rebuild dist files
Browse files Browse the repository at this point in the history
  • Loading branch information
aratcliffe committed Mar 9, 2017
1 parent e1c1c5f commit 73a650a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
14 changes: 10 additions & 4 deletions dist/leaflet.contextmenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,16 +144,22 @@ L.Map.ContextMenu = L.Handler.extend({
contextmenu: this,
el: item
});

return item;
}

return null;
},

removeAllItems: function () {
var item;
var items = this._container.children,
item;

while (this._container.children.length) {
item = this._container.children[0];
while (items.length) {
item = items[0];
this._removeItem(L.Util.stamp(item));
}
return items;
},

hideAllItems: function () {
Expand Down Expand Up @@ -322,7 +328,7 @@ L.Map.ContextMenu = L.Handler.extend({
func.call(context || map, me._showLocation);
}

me._map.fire('contextmenu:select', {
me._map.fire('contextmenu.select', {
contextmenu: me,
el: el
});
Expand Down
2 changes: 1 addition & 1 deletion dist/leaflet.contextmenu.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 73a650a

Please sign in to comment.