code/superant.com.gutenberg/rungutenbergwindow.rb in rwdgutenberg-0.03 vs code/superant.com.gutenberg/rungutenbergwindow.rb in rwdgutenberg-0.04
- old
+ new
@@ -8,10 +8,11 @@
def rwdgutenbergwindowtwo
tempdoc = ""
@gutendisplayvariable = ""
tempcount = 0
+ if ! @a_viewgutenberg.to_s.empty?
if @rwd_tab== "rwdgutenberg"
@rwd_window = "gutendisplaywindowtwo"
end
if $gutenbergcommand == "openbook"
@@ -36,7 +37,7 @@
$booklocation = $booklocation + $booksteps
if $gutenbergcommand == "closebook"
$bookfile.close
end
@gutendisplayvariable = tempdoc
-
+ end
end