Changeset 15058

Show
Ignore:
Timestamp:
07/02/08 23:29:35 (6 months ago)
Author:
otsune
Message:
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/javascript/vimperator-plugins/trunk/nicovideo_comment.js

    r15057 r15058  
    66 * @minVersion     0.6pre 
    77 * @author         otsune 
    8  * @version        0.1 
     8 * @version        0.2 
    99 * ==/VimperatorPlugin== 
    1010 * 
     
    1717liberator.commands.addUserCommand(['nico'],'Fill comment form in nicovideo', 
    1818    function(arg, special){ 
    19         var flvp = window.content.wrappedJSObject.document.getElementById('flvplayer'); 
    20         var form = special ? 'inputArea.MailInput.text' : 'inputArea.ChatInput1.text' ; 
    21         flvp.SetVariable(form, arg.toString() ); 
     19        var flvp = window.content.document.getElementById('flvplayer');  
     20        var form = special ? 'MailInput.text' : 'ChatInput.text' ; 
     21        flvp.wrappedJSObject.SetVariable(form, arg.toString() ); 
    2222    },{ 
    2323        completer: function(filter, special){