Skip to content

Commit

Permalink
#45 bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
M. Peter committed Jan 25, 2016
1 parent 9400e2b commit 400d4ca
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion _src/js/views/sub.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class ViewSub extends Backbone.View
return @el

reopen: ( evnt )=>
if $( event.target ).is( ".rm-result-btn" ) and @selectview?.rmRes?
if $( evnt.target ).is( ".rm-result-btn" ) and @selectview?.rmRes?
@selectview.rmRes( evnt )
evnt.preventDefault()
evnt.stopPropagation()
Expand Down
2 changes: 1 addition & 1 deletion dist/js/iggy.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/iggy.debug.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/iggy.js
Original file line number Diff line number Diff line change
Expand Up @@ -3224,7 +3224,7 @@ ViewSub = (function(superClass) {

ViewSub.prototype.reopen = function(evnt) {
var ref;
if ($(event.target).is(".rm-result-btn") && (((ref = this.selectview) != null ? ref.rmRes : void 0) != null)) {
if ($(evnt.target).is(".rm-result-btn") && (((ref = this.selectview) != null ? ref.rmRes : void 0) != null)) {
this.selectview.rmRes(evnt);
evnt.preventDefault();
evnt.stopPropagation();
Expand Down

0 comments on commit 400d4ca

Please sign in to comment.