Skip to content
GitLab
    • Explore Projects Groups Snippets
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Merge requests
  • !17272

fix for #17097: innerText is nonstandard and not supported in Firefox

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/skrivle/bugfix/innerText into v4-dev 9 years ago
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 10

Created by: skrivle

Refactored setContent methods to use jQuery's .text() and .html() instead of the native .innerText and .innerHTML because of cross browser inconsistencies ... jQuery already includes a fix for these inconsistencies so I thought it would be a good idea to make use of that. Unless of course you want to get rid of jQuery at some point? In that case it may be better to create a utility function ...

Fixes #17097 (closed).

Loading
Loading

Activity


  • Administrator added js v4 labels 9 years ago

    added js v4 labels

  • Administrator changed milestone to %v4.0.0-alpha.2 9 years ago

    changed milestone to %v4.0.0-alpha.2

  • Administrator changed title from fix for #17097 (closed) - firefox innerText issues ... to fix for #17097 (closed): innerText is nonstandard and not supported in Firefox 9 years ago

    changed title from fix for #17097 (closed) - firefox innerText issues ... to fix for #17097 (closed): innerText is nonstandard and not supported in Firefox

  • Administrator closed 9 years ago

    closed

Please register or sign in to reply
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Labels
1
post
1
post
    Assign labels
  • Manage project labels

Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
0
0 participants
Reference: a11yproject/a11yproject.com!1172
Source branch: github/fork/skrivle/bugfix/innerText

Menu

Explore Projects Groups Snippets