Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d9df83ccd6 | |||
| 019b0909f5 |
+2
-2
@@ -408,10 +408,10 @@ module.exports = function(grunt) {
|
||||
url: '/bootstrap/versioned-docs/' + version
|
||||
};
|
||||
});
|
||||
jsContent[0] = {
|
||||
jsContent.unshift({
|
||||
version: 'Current',
|
||||
url: '/bootstrap'
|
||||
};
|
||||
});
|
||||
grunt.file.write(versionsMappingFile, JSON.stringify(jsContent));
|
||||
grunt.log.writeln('File ' + versionsMappingFile.cyan + ' created.');
|
||||
done();
|
||||
|
||||
@@ -252,9 +252,6 @@ angular.module('ui.bootstrap.tooltip', ['ui.bootstrap.position', 'ui.bootstrap.s
|
||||
|
||||
// Hide the tooltip popup element.
|
||||
function hide() {
|
||||
cancelShow();
|
||||
cancelHide();
|
||||
|
||||
if (!ttScope) {
|
||||
return;
|
||||
}
|
||||
@@ -307,9 +304,10 @@ angular.module('ui.bootstrap.tooltip', ['ui.bootstrap.position', 'ui.bootstrap.s
|
||||
}
|
||||
|
||||
function removeTooltip() {
|
||||
cancelShow();
|
||||
cancelHide();
|
||||
unregisterObservers();
|
||||
|
||||
transitionTimeout = null;
|
||||
if (tooltip) {
|
||||
tooltip.remove();
|
||||
tooltip = null;
|
||||
@@ -501,8 +499,6 @@ angular.module('ui.bootstrap.tooltip', ['ui.bootstrap.position', 'ui.bootstrap.s
|
||||
|
||||
// Make sure tooltip is destroyed and removed.
|
||||
scope.$on('$destroy', function onDestroyTooltip() {
|
||||
cancelShow();
|
||||
cancelHide();
|
||||
unregisterTriggers();
|
||||
removeTooltip();
|
||||
openedTooltips.remove(ttScope);
|
||||
|
||||
Reference in New Issue
Block a user