Template.MasterLayout.events({

  'click [data-action="install-app"]': function(evt, tmp) {

    if (!$(evt.target).attr('href')) {
      evt.preventDefault();
      AppMarket.getSandstormHost(this.packageId, function() {
        Tracker.afterFlush(function() {
          tmp.$('[data-action="install-app"]').click();
        });
      });
    }

  }
  
});
Template.MasterLayout.events({

  'click [data-action="install-app"]': function(evt, tmp) {

    if (!$(evt.currentTarget).attr('href')) {
      evt.preventDefault();
      AppMarket.getSandstormHost(this.packageId, function() {
        Tracker.afterFlush(function() {
          tmp.$('[data-action="install-app"]').click();
        });
      });
    }

  }
  
});

Fix clicking on right-triangle in install button has no effect.
Fix clicking on right-triangle in install button has no effect.
