зеркало из https://github.com/mozilla/pjs.git
Fix strict warning by making the setter always return the |val|, which it should always do anyway. r=caillon
This commit is contained in:
Родитель
19f94533d1
Коммит
4eea6a3db8
|
@ -165,7 +165,7 @@
|
|||
onget="return this.getAttribute('index');">
|
||||
<setter>
|
||||
if (this.index == val)
|
||||
return;
|
||||
return val;
|
||||
this.setAttribute("index", val);
|
||||
var event = document.createEvent('Events');
|
||||
event.initEvent('select', false, true);
|
||||
|
|
Загрузка…
Ссылка в новой задаче