Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Topics/windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ Most window properties can be changed:
var newWidth = parseInt(prompt("New window width:"));

// Keep KitchenSink functional.
if (!isNaN(newWidth) && newWidth > 300)
if (!isNaN(newWidth) && newWidth > 300)
Titanium.UI.currentWindow.setWidth(newWidth);

var newHeight = parseInt(prompt("New window height:"));

// Keep KitchenSink functional.
if (!isNaN(newHeight) && newHeight > 300)
if (!isNaN(newHeight) && newHeight > 300)
Titanium.UI.currentWindow.setHeight(newHeight);

// Modify the bounds of the window all at once
Expand Down