]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fix syntax error in Reveal JavaScript
authorGeoff Kimball <geoff@zurb.com>
Mon, 8 Feb 2016 22:15:18 +0000 (14:15 -0800)
committerGeoff Kimball <geoff@zurb.com>
Mon, 8 Feb 2016 22:15:18 +0000 (14:15 -0800)
js/foundation.reveal.js

index 0240762112e85bc262a84bd2c8f997b15e9975df..8ee9b5bffa7103156f1127ee4bedac5eec3d9e4f 100644 (file)
@@ -201,7 +201,7 @@ export default class Reveal {
     if(cb) cb();
   }
 
-  _applyCss(function(x, y) {
+  _applyCss(x, y) {
     var _this = this;
     return (_this.options.animationIn ?
       {top: y + 'px', left: x + 'px'}