Skip to content

Commit

Permalink
Fine tuning. Fixed options/events tables in the demo to be responsive.
Browse files Browse the repository at this point in the history
  • Loading branch information
thednp committed Jan 27, 2017
1 parent ee8654f commit a06d9da
Show file tree
Hide file tree
Showing 3 changed files with 596 additions and 554 deletions.
6 changes: 3 additions & 3 deletions dist/bootstrap-native.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,9 @@
x : global.pageXOffset || doc[scrollLeft]
}
},
styleTip = function(link,element,position,container) { // both popovers and tooltips
var rect = link[getBoundingClientRect](),
scroll = container === body ? getScroll() : { x: container[offsetLeft] + container[scrollLeft], y: container[offsetTop] + container[scrollTop] },
styleTip = function(link,element,position,container) { // both popovers and tooltips
var rect = link[getBoundingClientRect](),
scroll = container === body ? getScroll() : { x: container[offsetLeft] + container[scrollLeft], y: container[offsetTop] + container[scrollTop] },
linkDimensions = { w: rect[right] - rect[left], h: rect[bottom] - rect[top] },
elementDimensions = { w : element[offsetWidth], h: element[offsetHeight] };

Expand Down
Loading

0 comments on commit a06d9da

Please sign in to comment.