mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
set style.cssText instead of just style
This commit is contained in:
parent
4febe3a473
commit
913fea7f4c
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ module Capybara
|
|||
script = <<-JS
|
||||
var el = arguments[0];
|
||||
if (el.hasOwnProperty('capybara_style_cache')) {
|
||||
el.style=el.capybara_style_cache;
|
||||
el.style.cssText = el.capybara_style_cache;
|
||||
delete el.capybara_style_cache;
|
||||
}
|
||||
JS
|
||||
|
|
Loading…
Add table
Reference in a new issue