projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fb6a08
)
Roo/bootstrap/Tooltip.js
author
edward
<edward@roojs.com>
Tue, 21 Nov 2017 07:34:05 +0000
(15:34 +0800)
committer
edward
<edward@roojs.com>
Tue, 21 Nov 2017 07:34:05 +0000
(15:34 +0800)
Roo/bootstrap/Tooltip.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Tooltip.js
b/Roo/bootstrap/Tooltip.js
index
122e44c
..
8645ebd
100644
(file)
--- a/
Roo/bootstrap/Tooltip.js
+++ b/
Roo/bootstrap/Tooltip.js
@@
-21,7
+21,12
@@
Roo.bootstrap.Tooltip = function(config){
Roo.bootstrap.Tooltip.superclass.constructor.call(this, config);
- this.alignment = config.alignment || Roo.bootstrap.Tooltip.alignment;
+ this.alignment = Roo.bootstrap.Tooltip.alignment;
+
+ if(typeof(config) != 'undefined' && typeof(config.alignment) != 'undefined'){
+ this.alignment = config.alignment;
+ }
+
};
Roo.apply(Roo.bootstrap.Tooltip, {