зеркало из https://github.com/mozilla/pjs.git
Bug 313069 Fix javascript error when editing attachments
Patch by Erik Stambaugh <erik@dasbistro.com> r=joel, a=justdave
This commit is contained in:
Родитель
6363bfa210
Коммит
968779263b
|
@ -184,11 +184,11 @@
|
|||
|
||||
var small = document.getElementById('smallCommentFrame');
|
||||
var big = document.getElementById('editFrame');
|
||||
if ( small.style.display == 'none' )
|
||||
if ( (small) && (small.style.display == 'none') )
|
||||
{
|
||||
small.parentNode.removeChild(small);
|
||||
}
|
||||
if ( big.style.display == 'none' )
|
||||
if ( (big) && (big.style.display == 'none') )
|
||||
{
|
||||
big.parentNode.removeChild(big);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче