Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #20212 from loganallenc/bug_1021724_keyboard_inlin…
Browse files Browse the repository at this point in the history
…e_style

Fixed keyboard inline style for CSP compliance, r=timdream
  • Loading branch information
timdream committed Jun 9, 2014
2 parents 0263803 + 91c4909 commit 45e1020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/keyboard/js/render.js
Expand Up @@ -910,7 +910,7 @@ const IMERender = (function() {

var contentNode = document.createElement('button');
contentNode.className = 'keyboard-key ' + className;
contentNode.setAttribute('style', 'width: ' + width + ';');
contentNode.style.width = width;

if (attributeList) {
attributeList.forEach(function(attribute) {
Expand Down

0 comments on commit 45e1020

Please sign in to comment.