CARVIEW |
Select Language
HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Sat, 11 Oct 2025 06:29:05 GMT
Content-Type: text/html
Content-Length: 162
Location: https://bugs.jquery.com/ticket/9933/
Connection: keep-alive
Reporting-Endpoints: csp-endpoint='https://csp-report-api.openjs-foundation.workers.dev/'
Content-Security-Policy: default-src 'self'; script-src 'self' 'wasm-unsafe-eval' code.jquery.com; connect-src 'self'; img-src 'self' secure.gravatar.com; style-src 'self'; media-src 'self' content.jquery.com; report-uri https://csp-report-api.openjs-foundation.workers.dev/; report-to csp-endpoint
HTTP/1.1 200 OK
Server: nginx
Date: Sat, 11 Oct 2025 06:29:05 GMT
Content-Type: text/html
Last-Modified: Wed, 18 Sep 2024 14:30:36 GMT
Transfer-Encoding: chunked
Connection: keep-alive
Vary: Accept-Encoding
ETag: W/"66eae40c-2cda"
Reporting-Endpoints: csp-endpoint='https://csp-report-api.openjs-foundation.workers.dev/'
Content-Security-Policy: default-src 'self'; script-src 'self' 'wasm-unsafe-eval' code.jquery.com; connect-src 'self'; img-src 'self' secure.gravatar.com; style-src 'self'; media-src 'self' content.jquery.com; report-uri https://csp-report-api.openjs-foundation.workers.dev/; report-to csp-endpoint
Content-Encoding: gzip
#9933 (jQuery.fn.toggle() should store state in private data object) - jQuery - Bug Tracker
jQuery issues have moved to GitHub. This site is now a static archive of the old Trac bugs site. Some functions and pages are no longer available.
Skip to main content
Bug Tracker
Side navigation
#9933 closed bug (fixed)
Opened July 28, 2011 08:16PM UTC
Closed September 20, 2011 01:24PM UTC
Last modified March 08, 2012 05:57PM UTC
jQuery.fn.toggle() should store state in private data object
Reported by: | dmethvin | Owned by: | dmethvin |
---|---|---|---|
Priority: | low | Milestone: | 1.7 |
Component: | event | Version: | 1.6.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
At the moment, event.js/jQuery.fn.toggle()
uses jQuery.data()
instead of jQuery._data()
so it pollutes the user's data namespace. I've fixed this for 1.7, just need to land it.
Attachments (0)
Change History (2)
Changed July 28, 2011 08:16PM UTC by dmethvin comment:1
component: | unfiled → event |
---|---|
milestone: | None → 1.7 |
owner: | → dmethvin |
priority: | undecided → low |
status: | new → assigned |
Changed September 20, 2011 01:24PM UTC by dmethvin comment:2
resolution: | → fixed |
---|---|
status: | assigned → closed |
Fixed for 1.7: https://github.com/jquery/jquery/commit/5d6a1424aa182bfe25897a217550c2e585e3ed0b
Sorry about the kitchen-sink commit it's in...