This commit is contained in:
Tony Tam
2015-01-29 23:56:04 -08:00
3 changed files with 16 additions and 16 deletions

2
dist/swagger-ui.js vendored
View File

@@ -1072,7 +1072,7 @@ OperationView = (function(_super) {
OperationView.prototype.mouseEnter = function(e) { OperationView.prototype.mouseEnter = function(e) {
var elem, hgh, pos, scMaxX, scMaxY, scX, scY, wd, x, y; var elem, hgh, pos, scMaxX, scMaxY, scX, scY, wd, x, y;
elem = $(e.currentTarget.parentNode).find('#api_information_panel'); elem = $(this.el).find('.content');
x = e.pageX; x = e.pageX;
y = e.pageY; y = e.pageY;
scX = $(window).scrollLeft(); scX = $(window).scrollLeft();

File diff suppressed because one or more lines are too long

View File

@@ -16,7 +16,7 @@ class OperationView extends Backbone.View
@ @
mouseEnter: (e) -> mouseEnter: (e) ->
elem = $(e.currentTarget.parentNode).find('#api_information_panel') elem = $(@el).find '.content'
x = e.pageX x = e.pageX
y = e.pageY y = e.pageY
scX = $(window).scrollLeft() scX = $(window).scrollLeft()