From df5b1e5e476700883640f5365c50a40f07109aa0 Mon Sep 17 00:00:00 2001 From: David Wick Date: Tue, 27 Jan 2015 17:17:46 -0800 Subject: [PATCH] post-message.js: fix method overload --- r2/r2/public/static/js/embed/post-message.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/r2/r2/public/static/js/embed/post-message.js b/r2/r2/public/static/js/embed/post-message.js index f65dfbc1e..70fe60fab 100644 --- a/r2/r2/public/static/js/embed/post-message.js +++ b/r2/r2/public/static/js/embed/post-message.js @@ -46,9 +46,9 @@ receiveMessage: function(source, type, callback, context) { if (typeof source === 'string') { - type = source; - callback = type; context = callback; + callback = type; + type = source; source = null; }