Skip to content

Commit

Permalink
Fixed: updateHardwareAcceleration logic in preferences
Browse files Browse the repository at this point in the history
  • Loading branch information
InternalError503 committed Feb 22, 2017
1 parent 6e770a1 commit 220882d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion browser/components/preferences/advanced.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ var gAdvancedPane = {
*/
updateHardwareAcceleration: function()
{
if (AppConstants.platform = "win") {
if (AppConstants.platform == "win") {
var fromPref = document.getElementById("layers.acceleration.disabled");
var toPref = document.getElementById("gfx.direct2d.disabled");
toPref.value = fromPref.value;
Expand Down
2 changes: 1 addition & 1 deletion browser/components/preferences/in-content/advanced.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ var gAdvancedPane = {
*/
updateHardwareAcceleration: function()
{
if (AppConstants.platform = "win") {
if (AppConstants.platform == "win") {
var fromPref = document.getElementById("layers.acceleration.disabled");
var toPref = document.getElementById("gfx.direct2d.disabled");
toPref.value = fromPref.value;
Expand Down

0 comments on commit 220882d

Please sign in to comment.