1
0
mirror of synced 2024-11-29 16:16:02 +03:00

Copy title attribute from original element

This commit is contained in:
Matthias Kurz 2014-04-09 12:36:43 +02:00
parent 8307d76f3e
commit bdb8840fb4

View File

@ -694,6 +694,8 @@ the specific language governing permissions and limitations under the Apache Lic
this.containerSelector="#"+this.containerId;
this.container.attr("id", this.containerId);
this.container.attr("title", opts.element.attr("title"));
// cache the body so future lookups are cheap
this.body = thunk(function() { return opts.element.closest("body"); });