This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Merge in upstream change to fix a typo.

  • Loading branch information...
tristandunn committed Feb 3, 2013
1 parent e6273cc commit fdf37e11baf7876f75161118fe30d85e6245cce4
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/webkit_server.js
View
@@ -251,7 +251,7 @@ window.WebKitServer = {
this.trigger(index, "change");
},
- centerPostion: function(element) {
+ centerPosition: function(element) {
this.reflow(element);
var rect = element.getBoundingClientRect(),
@@ -298,7 +298,7 @@ window.WebKitServer = {
dragTo: function(index, targetIndex) {
var element = this.nodes[index],
target = this.nodes[targetIndex],
- position = this.centerPostion(element),
+ position = this.centerPosition(element),
options = {
clientX: position.x,
clientY: position.y
@@ -316,7 +316,7 @@ window.WebKitServer = {
mouseTrigger("mousemove", options);
- position = this.centerPostion(target);
+ position = this.centerPosition(target);
options = {
clientX: position.x,
clientY: position.y

0 comments on commit fdf37e1

Please sign in to comment.