diff --git a/source/Ox.UI/js/Core/GarbageCollection.js b/source/Ox.UI/js/Core/GarbageCollection.js index 59608a59..13fa2580 100644 --- a/source/Ox.UI/js/Core/GarbageCollection.js +++ b/source/Ox.UI/js/Core/GarbageCollection.js @@ -22,7 +22,7 @@ Ox.GarbageCollection = (function() { if ($element && Ox.isUndefined($element.$element.data('oxid'))) { //Chrome does not properly release resources, reset manually //http://code.google.com/p/chromium/issues/detail?id=31014 - $element.find('video').attr('src', ''); + $element.find('video').attr({src: ''}); $element.remove(); delete Ox.UI.elements[id]; }