equal
deleted
inserted
replaced
215 .remove(); |
215 .remove(); |
216 } |
216 } |
217 |
217 |
218 addOnloadHook(function() |
218 addOnloadHook(function() |
219 { |
219 { |
|
220 if ( is_iPhone ) |
|
221 // kinda can't plug a yubikey into an iPhone |
|
222 // ... yet? |
|
223 return; |
|
224 |
220 attachHook('login_build_form', 'yk_login_dlg_hook(table);'); |
225 attachHook('login_build_form', 'yk_login_dlg_hook(table);'); |
221 attachHook('login_build_userinfo', 'if ( window.yubikey_otp_current ) userinfo.yubikey_otp = window.yubikey_otp_current;'); |
226 attachHook('login_build_userinfo', 'if ( window.yubikey_otp_current ) userinfo.yubikey_otp = window.yubikey_otp_current;'); |
222 if ( title == namespace_list.Special + 'Preferences/Yubikey' ) |
227 if ( title == namespace_list.Special + 'Preferences/Yubikey' ) |
223 { |
228 { |
224 load_component(['jquery', 'jquery-ui', 'expander']); |
229 load_component(['jquery', 'jquery-ui', 'expander']); |