mirror of
https://github.com/owntone/owntone-server.git
synced 2025-12-08 08:42:43 -05:00
Change all element.firstChild.nodeValue to
Element.textContent(element) to fix bug #58
This commit is contained in:
@@ -93,7 +93,7 @@ var Source = {
|
||||
editPlaylistName: function () {
|
||||
input = $('edit_playlist_name');
|
||||
Source.playlistId = $('source').value;
|
||||
playlistName = this._getOptionElement(Source.playlistId).firstChild.nodeValue;
|
||||
playlistName = Element.textContent(this._getOptionElement(Source.playlistId));
|
||||
//###FIXME use prototype Position instead
|
||||
input.style.top = RicoUtil.toDocumentPosition(this._getOptionElement(Source.playlistId)).y + 'px';
|
||||
input.value = playlistName;
|
||||
|
||||
Reference in New Issue
Block a user