comparison app/assets/javascripts/init.tabs.js @ 130:64523785ad24

Added semicolon.
author Edho Arief <edho@myconan.net>
date Mon, 12 Nov 2012 17:25:47 +0700
parents 0785824a20b9
children 7c7601575358
comparison
equal deleted inserted replaced
129:0785824a20b9 130:64523785ad24
50 return false; 50 return false;
51 }); 51 });
52 52
53 mode = window.location.hash.substr(2).split('.'); 53 mode = window.location.hash.substr(2).split('.');
54 if (mode[0] == 'highlight') { $('#paste-mode a:eq(1)').click(); } 54 if (mode[0] == 'highlight') { $('#paste-mode a:eq(1)').click(); }
55 else if (mode[0] == 'markdown') { $('#paste-mode a:eq(2)').click(); } 55 else if (mode[0] == 'markdown') { $('#paste-mode a:eq(2)').click(); };
56 if (mode[1] && mode[1].match(/^\d+px$/)) { paste_resize(mode[1]); } 56 if (mode[1] && mode[1].match(/^\d+px$/)) { paste_resize(mode[1]); }
57 }); 57 });