Divorce the notion of a marquee being stopped from JS from the notion of being suspe...
[WebKit-https.git] / WebCore / khtml / ecma / kjs_html.cpp
index e6498728aca41249d4f008b6896b94dcfb7f7bfe..5ef6df3265bac1c290b1940d468860f9be9417a6 100644 (file)
@@ -2149,7 +2149,7 @@ Value KJS::HTMLElementFunction::tryCall(ExecState *exec, Object &thisObj, const
         else if (id == KJS::HTMLElement::MarqueeStop && element.handle()->renderer() && 
                  element.handle()->renderer()->layer() &&
                  element.handle()->renderer()->layer()->marquee()) {
-            element.handle()->renderer()->layer()->marquee()->suspend();
+            element.handle()->renderer()->layer()->marquee()->stop();
             return Undefined();
         }
         break;