Merge pull request #376 from ethereum/editor-size-bugfix

Update last reference to storage.editorSize
pull/1/head
Greg Colvin 8 years ago committed by GitHub
commit f2ce138635
  1. 2
      src/app.js

@ -429,7 +429,7 @@ var run = function () {
var hidingRHP = false var hidingRHP = false
$('.toggleRHP').click(function () { $('.toggleRHP').click(function () {
hidingRHP = !hidingRHP hidingRHP = !hidingRHP
setEditorSize(hidingRHP ? 0 : storage.getEditorSize()) setEditorSize(hidingRHP ? 0 : storage.get(EDITOR_SIZE_KEY))
$('.toggleRHP i').toggleClass('fa-angle-double-right', !hidingRHP) $('.toggleRHP i').toggleClass('fa-angle-double-right', !hidingRHP)
$('.toggleRHP i').toggleClass('fa-angle-double-left', hidingRHP) $('.toggleRHP i').toggleClass('fa-angle-double-left', hidingRHP)
}) })

Loading…
Cancel
Save