Skip to content

Commit

Permalink
Fix default config in HoverScale
Browse files Browse the repository at this point in the history
  • Loading branch information
brianpeiris committed Nov 15, 2016
1 parent 63d3778 commit a989ae7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utilities/behaviors/HoverScale.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ window.altspace.utilities.behaviors = window.altspace.utilities.behaviors || {};
* @memberof module:altspace/utilities/behaviors
*/
altspace.utilities.behaviors.HoverScale = function(config) {
config = config || {};
var scale = config.scale || 1.15;
var duration = config.duration || 75; // Milliseconds
var revertOnDispose = ((config.revertOnDispose !== undefined) ? config.revertOnDispose : true);
Expand Down

0 comments on commit a989ae7

Please sign in to comment.