mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-02-04 11:45:04 -05:00
Set the frame name as an iframe attribute for Konqueror.
This commit is contained in:
@@ -23,13 +23,15 @@ r.login = {
|
||||
})
|
||||
} else {
|
||||
var iframe = $('<iframe>'),
|
||||
postForm = form.$el.clone(true)
|
||||
postForm = form.$el.clone(true),
|
||||
frameName = ('resp'+Math.random()).replace('.', '')
|
||||
|
||||
iframe
|
||||
.css('display', 'none')
|
||||
.attr('name', frameName)
|
||||
.appendTo('body')
|
||||
|
||||
var frameName = iframe[0].contentWindow.name = ('resp'+Math.random()).replace('.', '')
|
||||
iframe[0].contentWindow.name = frameName
|
||||
|
||||
postForm
|
||||
.unbind()
|
||||
|
||||
Reference in New Issue
Block a user