Skip to content

Commit

Permalink
Allow an init_func to add scrollbars.
Browse files Browse the repository at this point in the history
  • Loading branch information
pete authored and mason-larobina committed Dec 31, 2010
1 parent 06aa5fd commit e450f29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/webview.lua
Expand Up @@ -324,12 +324,12 @@ webview.methods = {
function webview.new(w)
local view = widget{type = "webview"}

view.show_scrollbars = false

-- Call webview init functions
for k, func in pairs(webview.init_funcs) do
func(view, w)
end

view.show_scrollbars = false
return view
end

Expand Down

0 comments on commit e450f29

Please sign in to comment.