Readd those classes. They're actually rather useful.
This commit is contained in:
parent
9bd241552e
commit
f47f4aa4e5
@ -11322,6 +11322,9 @@
|
|||||||
return $.ready(this.readyInit);
|
return $.ready(this.readyInit);
|
||||||
},
|
},
|
||||||
asapInit: function() {
|
asapInit: function() {
|
||||||
|
$.addClass(doc, 'presto');
|
||||||
|
$.addClass(doc, 'appchan-x');
|
||||||
|
$.addClass(doc, g.VIEW);
|
||||||
MascotTools.init();
|
MascotTools.init();
|
||||||
if (g.VIEW === 'index') {
|
if (g.VIEW === 'index') {
|
||||||
return $.asap((function() {
|
return $.asap((function() {
|
||||||
|
|||||||
@ -11316,6 +11316,9 @@
|
|||||||
return $.ready(this.readyInit);
|
return $.ready(this.readyInit);
|
||||||
},
|
},
|
||||||
asapInit: function() {
|
asapInit: function() {
|
||||||
|
$.addClass(doc, 'gecko');
|
||||||
|
$.addClass(doc, 'appchan-x');
|
||||||
|
$.addClass(doc, g.VIEW);
|
||||||
MascotTools.init();
|
MascotTools.init();
|
||||||
if (g.VIEW === 'index') {
|
if (g.VIEW === 'index') {
|
||||||
return $.asap((function() {
|
return $.asap((function() {
|
||||||
|
|||||||
@ -11298,6 +11298,10 @@
|
|||||||
return $.ready(this.readyInit);
|
return $.ready(this.readyInit);
|
||||||
},
|
},
|
||||||
asapInit: function() {
|
asapInit: function() {
|
||||||
|
$.addClass(doc, 'webkit');
|
||||||
|
$.addClass(doc, 'blink');
|
||||||
|
$.addClass(doc, 'appchan-x');
|
||||||
|
$.addClass(doc, g.VIEW);
|
||||||
MascotTools.init();
|
MascotTools.init();
|
||||||
if (g.VIEW === 'index') {
|
if (g.VIEW === 'index') {
|
||||||
return $.asap((function() {
|
return $.asap((function() {
|
||||||
|
|||||||
@ -5,6 +5,17 @@ Style =
|
|||||||
$.ready @readyInit
|
$.ready @readyInit
|
||||||
|
|
||||||
asapInit: ->
|
asapInit: ->
|
||||||
|
<% if (type === 'crx') { %>
|
||||||
|
$.addClass doc, 'webkit'
|
||||||
|
$.addClass doc, 'blink'
|
||||||
|
<% } else if (type === 'userjs') { %>
|
||||||
|
$.addClass doc, 'presto'
|
||||||
|
<% } else { %>
|
||||||
|
$.addClass doc, 'gecko'
|
||||||
|
<% } %>
|
||||||
|
$.addClass doc, 'appchan-x'
|
||||||
|
$.addClass doc, g.VIEW
|
||||||
|
|
||||||
MascotTools.init()
|
MascotTools.init()
|
||||||
|
|
||||||
if g.VIEW is 'index'
|
if g.VIEW is 'index'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user