From 97b77e9b7b033c0d7410a6361ed981fc258f90d2 Mon Sep 17 00:00:00 2001 From: Aparajita Fishman Date: Sun, 18 Mar 2012 15:33:19 -0700 Subject: [PATCH] Changed to using data-cappuccino-view attribute --- AppKit/CPView.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppKit/CPView.j b/AppKit/CPView.j index 007dadce5..3805fbeff 100644 --- a/AppKit/CPView.j +++ b/AppKit/CPView.j @@ -291,7 +291,7 @@ var CPViewFlags = { }, CPDOMDisplayServerSetStyleLeftTop(_DOMElement, NULL, _CGRectGetMinX(aFrame), _CGRectGetMinY(aFrame)); CPDOMDisplayServerSetStyleSize(_DOMElement, width, height); - _DOMElement.className = [self className]; + _DOMElement.setAttribute("data-cappuccino-view", [self className]); _DOMImageParts = []; _DOMImageSizes = [];