mirror of
https://github.com/wassname/fullcalendar.git
synced 2026-07-27 11:22:18 +08:00
more bugfixes for 1.4
This commit is contained in:
+5
-1
@@ -262,7 +262,11 @@ var viewMethods = {
|
||||
// get a property from the 'options' object, using smart view naming
|
||||
|
||||
option: function(name, viewName) {
|
||||
return viewOption(this.options, name, this.name || viewName);
|
||||
var v = this.options[name];
|
||||
if (typeof v == 'object') {
|
||||
return smartProperty(v, viewName || this.name);
|
||||
}
|
||||
return v;
|
||||
},
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user