mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-27 05:25:45 +01:00
Treat XUL Tree and TextBox elements as input elements.
This commit is contained in:
@@ -315,7 +315,7 @@ var Styles = Module("Styles", {
|
||||
else if (/[\/:]/.test(filter))
|
||||
function test(uri) uri.spec === filter;
|
||||
else
|
||||
function test(uri) { try { return uri.host === filter } catch (e) { return false } };
|
||||
function test(uri) { try { return util.isSubdomain(uri.host, filter); } catch (e) { return false; } };
|
||||
test.toString = function toString() filter;
|
||||
if (arguments.length < 2)
|
||||
return test;
|
||||
|
||||
Reference in New Issue
Block a user