Changeset 39146

Show
Ignore:
Timestamp:
07/19/12 09:10:08 (10 months ago)
Author:
NeoCat
Message:

Revert "hide popup after init in order to avoid Android browser's scroll bug"

This reverts commit 1c304edf33a79d0e967c9fcae395fccf258edece.

Location:
websites/twicli
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • websites/twicli/styles/default.css

    r39145 r39146  
    5858#rep > a > img { padding: 2px 1px 1px 3px; } 
    5959#reps { margin-top: 1px; } 
    60 .popup_menu { background-color: #eee; position: absolute; left: 0; top: 200px; border: 2px solid #666; z-index: 6; width: 180px; font-size: smaller; } 
     60.popup_menu { display: none; background-color: #eee; position: absolute; left: 0; top: 200px; border: 2px solid #666; z-index: 6; width: 180px; font-size: smaller; } 
    6161.popup_menu a { display: block; background-color: #fff; color: black; text-decoration: none; padding: 3px; border-bottom: 1px solid #888; font-size: smaller; } 
    6262.popup_menu a:hover { background-color: #33f; color: #fff; text-decoration: none; } 
    6363.popup_menu a.row2 { background-color: #eee; } 
    64 #popup_hide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.2; filter: alpha(opacity=20); background-color: black; z-index: 5; } 
     64#popup_hide { display: none; position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.2; filter: alpha(opacity=20); background-color: black; z-index: 5; } 
    6565#user_info { margin: 1px; border: 1px solid #888; } 
    6666#user_info td { font-size: smaller; } 
  • websites/twicli/twicli.js

    r39145 r39146  
    690690// ポップアップメニューの初期化 
    691691function popup_init() { 
    692         popup_hide(true); 
    693692        var popup_id_list = ['popup_link_user', 'popup_link_status', 'popup_status_delete', 
    694693                                                'popup_status_retweet', 'popup_status_quote', 
     
    717716} 
    718717// ポップアップメニューを非表示 
    719 function popup_hide(init) { 
    720         if (!init) callPlugins("popup_hide"); 
     718function popup_hide() { 
     719        callPlugins("popup_hide"); 
    721720        $('popup').style.display = 'none'; 
    722721        $('userinfo_popup').style.display = 'none';