Permalink
Browse files

cleaner variable names

  • Loading branch information...
1 parent b2035d2 commit 5afd344f04cddb3e3f665a5b65120830d3e5f9cd Cameron McEfee committed Jan 13, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −1 examples/specific-element.html
  2. +1 −0 js/plax.js
@@ -56,7 +56,7 @@
<script type="text/javascript">
$(document).ready(function () {
$('#shell img').plaxify()
- $.plax.enable({ "target": $('#shell')})
+ $.plax.enable({ "activityTarget": $('#shell')})
})
</script>
View
@@ -262,6 +262,7 @@
$(document).bind('mousemove.plax', function (e) {
if(opts){
plaxActivityTarget = opts.target || $(window)
+ plaxActivityTarget = opts.activityTarget || $(window)
}
plaxifier(e)
})

0 comments on commit 5afd344

Please sign in to comment.