Mercurial > zeropaste
comparison app/assets/javascripts/init.tabs.js @ 140:13ada93ad6a2
Return false on update state.
author | Edho Arief <edho@myconan.net> |
---|---|
date | Mon, 12 Nov 2012 17:51:53 +0700 |
parents | 3241fe970c13 |
children | 2104f0c477c0 |
comparison
equal
deleted
inserted
replaced
139:255f8f9455a0 | 140:13ada93ad6a2 |
---|---|
12 if (mode != 'plain') { | 12 if (mode != 'plain') { |
13 qstring += mode; | 13 qstring += mode; |
14 } | 14 } |
15 } | 15 } |
16 window.location = qstring; | 16 window.location = qstring; |
17 return false; | |
17 }, | 18 }, |
18 paste_resize = function(size) { | 19 paste_resize = function(size) { |
19 var paste = $('#paste'), | 20 var paste = $('#paste'), |
20 title = $('#paste-resize a.btn'); | 21 title = $('#paste-resize a.btn'); |
21 title.html(title.html().replace(/(auto|\d+px)/, size)); | 22 title.html(title.html().replace(/(auto|\d+px)/, size)); |