1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 22:54:25 +01:00

Merge fix for tests

This commit is contained in:
Hillel Coren 2018-01-16 20:52:08 +02:00
parent 7fbaad19d1
commit 884e4174f5

View File

@ -67,6 +67,11 @@
if (errorMsg.indexOf('DOM Exception 22') > -1) { if (errorMsg.indexOf('DOM Exception 22') > -1) {
return; return;
} }
@if (Utils::isTravis())
if (errorMsg.indexOf('Attempting to change value of a readonly property') > -1) {
return;
}
@endif
// Less than IE9 https://stackoverflow.com/a/14835682/497368 // Less than IE9 https://stackoverflow.com/a/14835682/497368
if (! document.addEventListener) { if (! document.addEventListener) {
return; return;