This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: selection.js | |
=================================================================== | |
--- selection.js (revision 39613) | |
+++ selection.js (revision 39615) | |
@@ -218,10 +218,12 @@ | |
else | |
editable.attachListener( editor, 'selectionCheck', saveSel, null, null, -1 ); | |
- editable.attachListener( editable, 'blur', function() { | |
- editor.lockSelection( lastSel ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
// Bootstrap provided getPosition uses offsetWidth and offsetHeight to calculate | |
// the positioning of the tooltip. SVG Elements do not have this property because | |
// SVG does not layout elements, it assumes elements are always positioned. | |
// This replaces their implementation for SVG elements, and utilizes getBoundingClientRect. | |
var getPosition = $.fn.tooltip.Constructor.prototype.getPosition; | |
$.fn.tooltip.Constructor.prototype.getPosition = function (inside) { | |
var svgParent = this.$element.parents('svg'); | |
// Only apply to SVG children | |
// Test for iOS 3/BlackBerry |