mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
post-message.js: fix method overload
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user